Write a Program: a) Sample Output: 1 12 123 1234 b) Write a C or C++ Program to print an array of five fruits.

Write a Program:

a) Sample Output:

1
12
123
1234

b) Write a C or C++ Program to print an array of five fruits.

From the DESCO Assistant Engineer (CSE) May 2023 – Written exam, question 1 of 5.

More from this paper