InterviewSolution
Saved Bookmarks
| 1. |
7) Calculate the total size of the given arrays: [2]i) char ch [ ] = { ‘a’ , ‘A’, ‘b’, ‘B’}; ii) double num[ ] = {2.6, 5.9, 9.0}; |
|
Answer» Input the number of elements to store in the array :3 Input 3 number of elements in the array : element - 0 : 2 element - 1 : 5 element - 2 : 7 Expected OUTPUT : The values store into the array are : 2 5 7 The values store into the array in reverse are : 7 5 2 |
|