C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error -1 33 0 1 Compilation Error -1 33 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value Garbage value 0 0 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 3 Compilation error a[0] = 2 a[1] = 2 a[1] = 3 a[0] = 3 Compilation error a[0] = 2 a[1] = 2 a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 -10 to infinite -10 to 0 Complier error -10 to -1 -10 to infinite -10 to 0 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming The recursive functions are executed in a ........... Random order Iterative order Last In First Out order First In First Out order Parallel order Random order Iterative order Last In First Out order First In First Out order Parallel order 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.5 2 9 0.25 1 0.5 2 9 0.25 1 ANSWER DOWNLOAD EXAMIANS APP