C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} None of these M Good Morning Good Morning None of these M Good Morning Good Morning ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=MVEDA y=EXAMIANS y=AMVEDA y=EDA y=VEDA y=MVEDA y=EXAMIANS y=AMVEDA y=EDA y=VEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Needs input data. Must contain at least one function. None of these Need not contain any function. Needs input data. Must contain at least one function. None of these Need not contain any function. 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"); } } XAM is printed exam is printed Nothing is printed Compiler Error XAM is printed exam is printed Nothing is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello 5 None of These Error hello garbage value hello 5 None of These Error hello garbage value 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 5 5 5 5 Infinite Loop 5 4 3 2 1 None of these Compilation Error 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of these ANSWER DOWNLOAD EXAMIANS APP