C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 100 1 Error 0 100 1 Error 0 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();} 5 5 5 5 5 None of these Compilation Error 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of these Compilation Error 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Forget it None of These Ok here Error Forget it None of These Ok here Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 4 None of these 2, 3 1 1, 4 2, 4 None of these 2, 3 1 1, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 0 Garbage Value None of These 2 0 Garbage Value None of These 2 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=EXAMIANS y=VEDA y=AMVEDA y=MVEDA y=EDA y=EXAMIANS y=VEDA y=AMVEDA y=MVEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP