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);} x=0 x=4 x=1 Error x=5 x=0 x=4 x=1 Error x=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These Infinite Loop 0 0 0 0 5 4 3 2 1 None of These Infinite Loop 0 0 0 0 5 4 3 2 1 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);} 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? skip None of these continue break resume skip None of these continue break resume ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Run time error Enter a number:99 Number is divisible by 5 Enter a number:99 complier error Run time error Enter a number:99 Number is divisible by 5 Enter a number:99 complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ ANSWER DOWNLOAD EXAMIANS APP