C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 1 0 33 -1 Compilation Error 1 0 33 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.25 2 1 0.5 9 0.25 2 1 0.5 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right II and III I and III III and IV II and IV I and II II and III I and III III and IV II and IV I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on a new line has # as the first character comes before the first executable statement need not start on the first column need not start on a new line has # as the first character comes before the first executable statement need not start on the first column ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 5 5 5 2 4 4 2 5 5 2 4 5 5 5 5 2 4 4 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 13 12 11 None of These 13 12 11 None of These ANSWER DOWNLOAD EXAMIANS APP