C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg cdefg bcdefg defg fg efg cdefg bcdefg defg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 None of these 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 10 11 12 13 14 None of these 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 20 20 10 20 Run time error 10 10 20 20 10 20 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Comma operator Unary-operator Assignment operator Conditional operator Division operator Comma operator Unary-operator Assignment operator Conditional operator Division operator ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless 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);} x=0 Error x=4 x=1 x=5 x=0 Error x=4 x=1 x=5 ANSWER DOWNLOAD EXAMIANS APP