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 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } None of these 3 hello Linking error Compiler Error None of these 3 hello Linking error Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 000 333 444 Garbage Value 433 000 333 444 Garbage Value 433 ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15/%!"); ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error 5 4 3 2 1 Infinite Loop None of these 5 5 5 5 5 Compilation Error 5 4 3 2 1 Infinite Loop None of these 5 5 5 5 5 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 14 Garbage Value 12 13 15 14 Garbage Value 12 13 ANSWER DOWNLOAD EXAMIANS APP