C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 0 1 -1 Compilation Error 33 0 1 -1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error -2 1 2 Error -2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg cdefg efg bcdefg defg fg cdefg efg bcdefg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 b = 4, c = 6 a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means The same as int *p[ None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 8 20 50 2 Theoratically no limit. The only practical limits are memory size and compilers. 8 20 50 2 Theoratically no limit. The only practical limits are memory size and compilers. ANSWER DOWNLOAD EXAMIANS APP