C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 2 2 1 2 1 1 2 1 2 2 1 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Conditional operator Division operator Unary-operator Assignment operator Comma operator Conditional operator Division operator Unary-operator Assignment operator Comma operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and III I and II I and III II and IV III and IV II and III I and II I and III II and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} None of These hello 5 Error hello garbage value None of These hello 5 Error hello garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 6 0 Garbage Value None of these 5 6 0 Garbage Value None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 3 3 10 5 5 5 10 5 3 4 10 5 4 4 10 5 4 3 10 5 3 3 10 5 5 5 10 5 3 4 10 5 4 4 10 5 4 3 ANSWER DOWNLOAD EXAMIANS APP