C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 2 0 0 0 0 2 1 0 0 1 3 0 0 0 1 3 1 0 0 1 2 0 0 0 0 2 1 0 0 1 3 0 0 0 1 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 1 -1 33 0 Compilation Error 1 -1 33 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? Theoratically no limit. The only practical limits are memory size and compilers. 8 2 20 50 Theoratically no limit. The only practical limits are memory size and compilers. 8 2 20 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns None of these true 1 0 -1 None of these true 1 0 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff1 fff0 fff3 fff2 fff4 fff1 fff0 fff3 fff2 ANSWER DOWNLOAD EXAMIANS APP