Question: Question 2 (15 marks) 300-500 words per discussion and avoid plagiarism. Discuss the following: a. Pointers b. Arrays C. Structures d. Classes e functions Question
Question 2 (15 marks) 300-500 words per discussion and avoid plagiarism. Discuss the following: a. Pointers b. Arrays C. Structures d. Classes e functions Question 3 (10 marks) avoid plagiarism. Write the following program in C++. Combine your first and second name and pick only the first five characters of your name for the project. i. ii. Declare an array named name and put all the first five characters into it. Write a for loop with an if condition that will find and output the index value of a searched character in the array. Let the program be such that the user will input the character being searched for
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
