C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 1 Garbage Value None of These 10 1 Garbage Value None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello garbage value Error hello 5 None of These hello garbage value Error hello 5 None of These 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 4 3 2 1 None of these Compilation Error 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of these Compilation Error 5 5 5 5 5 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? + % ++ || && + % ++ || && ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 20 20 Run time error 10 20 10 10 20 20 Run time error 10 20 10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 25 20 30 None of these 24 25 20 30 None of these 24 ANSWER DOWNLOAD EXAMIANS APP