C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 -10 to 0 -10 to infinite Complier error -10 to -1 -10 to 0 -10 to infinite Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Array Queue Linked list Register Stack Array Queue Linked list Register Stack ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 a[0] = 3 Compilation error a[1] = 2 a[0] = 2 a[1] = 3 a[0] = 3 Compilation error a[1] = 2 a[0] = 2 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]);} 5 Garbage Value 0 6 None of these 5 Garbage Value 0 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 10 12 15 11 None of these 10 12 15 11 None of these 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"); } } exam is printed Compiler Error XAM is printed Nothing is printed exam is printed Compiler Error XAM is printed Nothing is printed ANSWER DOWNLOAD EXAMIANS APP