C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 1 0 Compilation Error 33 -1 1 0 Compilation Error 33 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 053 65 53 65 65 65 065 65 Syntax error 053 65 53 65 65 65 065 65 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} Error three None of These zero Error three None of These zero ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=3 d=5 c=5 d=3 c=5 d=5 c=3 d=3 c=3 d=5 c=5 d=3 c=5 d=5 c=3 d=3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 1 1 1 Error garbage values 0 0 0 1 1 1 Error garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above ANSWER DOWNLOAD EXAMIANS APP