Task 1: Design a C program that: 1. initialize a character array with a string literal. 2. read a string into a characte
Posted: Sat May 14, 2022 3:17 pm
Task 1: Design a C 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 %c conversion specifier.