Saved Bookmarks
| 1. |
Write down the corresponding memory consumption in bytes 1. int age[10] = .........2. charname[10] = ..........3. int age[10][10]= ........... |
|
Answer» 1. 2 × 10 = 20 bytbs (2 bytes for one integer) 2. 1 × 10 = 10 (one byte for each character) 3. 2 × 10 ×10 = 200 (2 × (100 elements)) |
|