C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These Infinite Loop 5 5 5 5 5 5 4 3 2 1 None of These Infinite Loop 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and III III and IV I and II II and IV II and III I and III III and IV I and II II and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior Compiler time error 10 Segmentation fault/runtime crash Undefined behavior Compiler time error 10 Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to elements of the same array. The pointers point to data of similar type. The pointers point to structure of similar data type. None of these. The pointers point to elements of the same array. The pointers point to data of similar type. The pointers point to structure of similar data type. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 1 1 0 None of these 0 1 0 0 1 1 1 0 None of these 0 1 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value 0 0 Garbage value 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value 0 0 ANSWER DOWNLOAD EXAMIANS APP