C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error %d\n 300 None of These Error %d\n 300 None of These 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? It will not compile because not enough initializers are given 24 12 7 6 It will not compile because not enough initializers are given 24 12 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. There is no difference between them. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. There is no difference between them. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 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); } 3 hello None of these Linking error Compiler Error 3 hello None of these Linking error Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of An operating system None of these. A compiler An Editor An operating system None of these. A compiler An Editor ANSWER DOWNLOAD EXAMIANS APP