Q48
char* myfunc(char *ptr) ptr+=3; return(ptr); void main() char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y); What will be printed when the sample code above is executed?
A.
y=EXAMVEDA
B.
y=MVEDA
AnswerC.
y=VEDA
D.
y=EDA
E.
y=AMVEDA
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board