C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 15 10 11 12 13 14 None of these Infinite loop 9 10 11 12 13 10 11 12 13 14 15 10 11 12 13 14 None of these Infinite loop 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() gets() puts() None of these printf() scanf() gets() puts() None of these printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} Error x=5 x=1 x=4 x=0 Error x=5 x=1 x=4 x=0 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 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));} None of these 10 12 15 11 None of these 10 12 15 11 ANSWER DOWNLOAD EXAMIANS APP