C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 0 no output infinity loop 3 2 1 3 2 1 0 no output infinity loop 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 5 6 12 7 6 6 11 6 6 7 5 6 12 7 6 6 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 2 1 1 2 3 0 1 2 3 None of these 1 1 2 2 0 1 2 2 1 1 2 3 0 1 2 3 None of these 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 None of These 7 6 5 None of These 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} make an infinite loop Error None of These Some address will be printed make an infinite loop Error None of These Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} zero Error three None of These zero Error three None of These ANSWER DOWNLOAD EXAMIANS APP