C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..4 2..4 4..2 2..2 4..4 2..4 4..2 2..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation All of these Takes care of macros Takes care of conditional compilation Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C No output at all. NOITANIMAXE Syntax error C NOITANIMAXE C No output at all. NOITANIMAXE Syntax error C 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 30 -5 10 15 1 30 -5 10 15 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%%!"); ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP