C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 None of These Compiler Error 10 50 None of These Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 1 30 15 10 -5 1 30 15 10 -5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 2 -1 Program do no return a value. 1 2 -1 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The increment should always be ++k . The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The increment should always be ++k . The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these Infinite loop 10 11 12 13 14 15 9 10 11 12 13 10 11 12 13 14 None of these Infinite loop 10 11 12 13 14 15 9 10 11 12 13 10 11 12 13 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} Garbage Value 333 000 433 444 Garbage Value 333 000 433 444 ANSWER DOWNLOAD EXAMIANS APP