C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Hello H Some Address will be printed None of These Hello H Some Address will be printed None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless is syntactically and semantically correct is illegal None of these. is legal but meaningless is syntactically and semantically correct is illegal None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 15 Garbage Value 14 13 12 15 Garbage Value 14 13 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Must contain at least one function. Need not contain any function. Needs input data. None of these Must contain at least one function. Need not contain any function. Needs input data. None of these ANSWER DOWNLOAD EXAMIANS APP