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 None of these 5 4 3 2 1 Compilation Error 5 5 5 5 5 Infinite Loop None of these 5 4 3 2 1 Compilation Error 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 6 Error 5 9 None of these 6 Error 5 9 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 0 None of These Garbage Value 2 0 None of These Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} I love Examians I hate Examians Error None of These I love Examians I hate Examians Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 Infinite loop Syntax error 10 0 0123456789 Infinite loop Syntax error 10 0 ANSWER DOWNLOAD EXAMIANS APP