C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Error Garbage value 6 3 Error Garbage value 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} Error 100 1 0 Error 100 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 13 14 12 11 Compilation error 13 14 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 None of These Compiler Error 10 50 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error hi Garbage Value h hi followed by garbage value Error hi Garbage Value h hi followed by garbage value 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? 7 24 It will not compile because not enough initializers are given 6 12 7 24 It will not compile because not enough initializers are given 6 12 ANSWER DOWNLOAD EXAMIANS APP