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?


E
Sections
1
Exercises

A

B

C

D

E

F

1

2

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

Ans: 58


© 2020 Garbage Valuegarbage value logo