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=5 x=4 x=0 x=1 Error x=5 x=4 x=0 x=1 Error 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 8 7 3 3 7 8 3 None of these 3 8 7 3 3 7 8 3 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output 3 2 1 0 infinity loop 3 2 1 no output 3 2 1 0 infinity loop 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Address of the first element of the array. Address of the array. Values of the first elements of the array. Number of element of the array. Address of the first element of the array. Address of the array. Values of the first elements of the array. Number of element of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() printf() None of these puts() gets() scanf() printf() None of these puts() gets() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 1 10 Garbage Value None of These 1 10 Garbage Value ANSWER DOWNLOAD EXAMIANS APP