C Programming A preprocessor command has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 III and IV I, II and III I, III and IV II and III I and II III and IV I, II and III I, III and IV II and III I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Error 3 Garbage value 6 Error 3 Garbage value 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 Garbage Value 0 None of These 2 Garbage Value 0 None of These 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 10 30 -5 15 1 10 30 -5 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A special symbol other than underscore Both of the above A number An alphabet A special symbol other than underscore Both of the above A number An alphabet ANSWER DOWNLOAD EXAMIANS APP