C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 1 33 0 Compilation Error -1 1 33 0 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value None of These 10 1 Garbage Value None of These 10 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr[6] arr{7} None of these arr[7] arr{6} arr[6] arr{7} None of these arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by reference call by value call by value result None of these. call by reference call by value call by value result None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65490 None of these 65486, 65486 65486, 65488 65486, 65487 65486, 65490 None of these 65486, 65486 65486, 65488 65486, 65487 ANSWER DOWNLOAD EXAMIANS APP