C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 33 0 Compilation Error 1 -1 33 0 Compilation Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 20 20 10 20 10 10 Run time error 20 20 10 20 10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor 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 Acts before compilation All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 1 complier error no error no output 0 1 complier error no error no output ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns -1 None of these 1 true 0 -1 None of these 1 true 0 ANSWER DOWNLOAD EXAMIANS APP