Home » Technical Questions » Programming

What would be the output of the following program? main() { char a[] = "Visual C++"; char *b = "Visual C++"; printf ("\n%d %d", sizeof (a), sizeof (b)); printf ("\n%d %d", sizeof (*a), sizeof (*b)); }

Correct Answer: 11 2 1 1

← Previous Question Next Question→

More Questions from Programming

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion