C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop Compilation Error None of these 5 5 5 5 5 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These Compiler Error sizeof(i)=1 sizeof(i)=2 None of These Compiler Error sizeof(i)=1 sizeof(i)=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Linking error 3 hello None of these Compiler Error Linking error 3 hello None of these 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 hello garbage value Error None of These hello 5 hello garbage value Error None of These 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]);} 6 0 Garbage Value 5 None of these 6 0 Garbage Value 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: None of these *float ptr; float *ptr; float ptr; None of these *float ptr; float *ptr; float ptr; ANSWER DOWNLOAD EXAMIANS APP