C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 c A Error 65 c A Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 0 4, 4 0, 2 2, 4 2, 2 2, 0 4, 4 0, 2 2, 4 2, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() getch() printf() start() system() main() getch() printf() start() system() ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 12 It will not compile because not enough initializers are given 6 24 7 12 It will not compile because not enough initializers are given 6 24 7 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"); 1 0 33 -1 Compilation Error 1 0 33 -1 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 Compiler Error Garbage Value 5 6 Compiler Error Garbage Value 5 ANSWER DOWNLOAD EXAMIANS APP