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};
Answers
Answered by
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
Similar questions
Business Studies,
4 months ago
Computer Science,
4 months ago
Math,
4 months ago
Physics,
10 months ago
Hindi,
10 months ago
Science,
1 year ago
English,
1 year ago