C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff1 fff4 fff0 fff3 fff2 fff1 fff4 fff0 fff3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Good Morning M None of these Good Morning Good Morning M None of these Good Morning ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error 1 2 -2 Error 1 2 -2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} h hi hi followed by garbage value Error Garbage Value h hi hi followed by garbage value Error Garbage Value 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 IV III and IV I and II I and III II and III II and IV III and IV I and II I and III II and III ANSWER DOWNLOAD EXAMIANS APP