Ad

Chapter - 10: Strings

How many bytes in memory would be occupied by the following array of pointers to strings? How many bytes would be required to store the same strings, if they are stored in a two-dimensional character array?


Ad
E
Sections
1
Exercises
char *mess[ ] = {
 "Hammer and tongs",
 "Tooth and nail",
 "Spit and polish",
 "You and C"
 } ; 

Ans: 58

Ad

© 2024 Garbage Valuegarbage value logo