C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 14 11 12 Compilation error 13 14 11 12 Compilation error 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} None of these 1 1 2 2 0 1 2 2 0 1 2 3 1 1 2 3 None of these 1 1 2 2 0 1 2 2 0 1 2 3 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 215 216 None of these 216 – 1 215 – 1 215 216 None of these 216 – 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 11 12 15 10 11 12 15 ANSWER DOWNLOAD EXAMIANS APP