C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 Runtime error 8 Syntax error No output 6 Runtime error 8 Syntax error No output ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() None of these scanf() puts() printf() gets() None of these scanf() puts() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 7 3 8 8 3 None of these 7 3 3 7 3 8 8 3 None of these 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number Both of the above An alphabet A special symbol other than underscore A number Both of the above An alphabet A special symbol other than underscore ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Syntax error 100 10012 Runtime error g##g2 Syntax error 100 10012 Runtime error g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 5 5.600000 6 5.600000 0 5.600000 Complier error 5 5.600000 6 5.600000 0 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP