Vidyalelo
C Programming · Q55

C Miscellaneous

Programming · C Programming · question 55

Q55

What is the output of this C code? #include main() char *p = "Examveda C-Test"; p[0] = 'a'; p[1] = 'b'; printf("%s", p);

A.
abmveda C-Test
B.
Examveda C-Test
C.
Compile time error
D.
Run time error
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board