Programming Languages C Objective
Jan 03, 2013

What will be the output of following statements ?

char x[ ] = "hello hi"; printf("%d%d",sizeof(*x),sizeof(x));

Choose the correct answer:
A) 70
B) 16
C) 19
D) 17
Detailed Explanation

Output will be 19. so the answer is c.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback