Page 1 of 1

QUESTION 5 (13 marks) Given logical representation of an array characters. char words [5] = { 'M', 'A', 'N', 'A'}; Write

Posted: Sat Feb 19, 2022 3:21 pm
by answerhappygod
Question 5 13 Marks Given Logical Representation Of An Array Characters Char Words 5 M A N A Write 1
Question 5 13 Marks Given Logical Representation Of An Array Characters Char Words 5 M A N A Write 1 (47.37 KiB) Viewed 43 times
QUESTION 5 (13 marks) Given logical representation of an array characters. char words [5] = { 'M', 'A', 'N', 'A'}; Write the program segment that do the following tasks: iv) Change value of index number 2 to 's'. v) Accept input from user with value 'K' and insert it to the last index. vi) Swap the value of index 0 with index number 2. vii) Change all the character using lowercase function. (3 Marks) (3 Marks) (4 Marks) (3 Marks)