QUIZ 14

What is the output?

a. gnirts
b. string
c. gnirt
d. no output is printed

Answer : d

for i=0, p[0]=s[6-0]
i.e. p[0]=s[6]=” i.e. null character

Leave a Reply

Your email address will not be published. Required fields are marked *