C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg bcdefg defg efg fg cdefg bcdefg defg efg fg 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);} 0 0 0 Error garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program None of these Must contain at least one function. Need not contain any function. Needs input data. None of these Must contain at least one function. Need not contain any function. Needs input data. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 Syntax error Runtime error 1 2 3 4 4 4 5 6 7 Syntax error Runtime error 1 2 3 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... string Data file no such function in 'C'. stdin stderr string Data file no such function in 'C'. stdin stderr ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } haasi hai asiha absiha None of these haasi hai asiha absiha None of these ANSWER DOWNLOAD EXAMIANS APP