Write a suitable C Program to accomplish the following tasks. Task 1: Design a program that: 1. Initialize a character a
Posted: Sat May 14, 2022 3:25 pm
Write a suitable C Program to accomplish the following tasks. Task 1: Design a program that: 1. Initialize a character array with a string literal 2. read a string into a character array, 3. print the previous character arrays as a string and 4. access individual characters of a string TIP: use a for statement to loop through the string array and print the individual characters separated by spaces, using the conversion specifier. Task 2: Write a statements to accomplish the followings 1. Define a 2 x 2 Array 2. Initializing the above Double-Subcripted Array 3. Access the clement of the above array and Initialize them (clement by clement) 4. Setting the Elements in One Row to same value. 3. Totaling the Elements in a Two-Dimensional Array 2