C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error 0 no error no output 1 complier error 0 no error no output 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? No output Syntax error Runtime error 8 6 No output Syntax error Runtime error 8 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } None of These 4 16 64 None of These 4 16 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff3 fff0 fff4 fff2 fff1 fff3 fff0 fff4 fff2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 Error 4 5 6 Error 4 5 ANSWER DOWNLOAD EXAMIANS APP