C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 1 1 1 garbage values Error 0 0 0 1 1 1 garbage values Error 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 5 5 5 5 5 4 3 2 1 None of these Infinite Loop Compilation Error 5 5 5 5 5 5 4 3 2 1 None of these Infinite Loop Compilation Error 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);} 30 25 None of these 24 20 30 25 None of these 24 20 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 None of These I hate Examians Error I love Examians None of These I hate Examians Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.5 9 0.25 1 2 0.5 9 0.25 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} A run time error will be generated. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP