C - Data Types - Discussion

You Are Here :: Home > C > Data Types - Discussion

 



Q.

What would the following C code segment print out?

char *x = "Rhoda";
x = "hi";
printf("%s" , s);

A. hioda B. hi\0oda
C. hi D. Rhoda

Answer: Option C
Explaination:

 


No Explanation



Discussion

Your Comments Goes here...
NameDiscussion