Question: I. Multiple Choice: Highlight the correct answer to each question. 1. Which assignment statement could be used to store the letter A into the char
I. Multiple Choice: Highlight the correct answer to each question. 1. Which assignment statement could be used to store the letter A into the char variable named firstLetter? A) firstLetter = "A"; B) firstLetter = A; C) firstLetter = 'A'; D) a and c above 2. Assume a user provides the following input which consists of a person's first initial and last initial, separated by a blank space: MH Which of the following correctly inputs the person's initials into the char variables firstInit and lastInit? A) cin >> firstInit >> lastInit; B) cin >> firstInit >>''>> lastInit; C) cin >> firstInit >> lastInit >> endl; D) lastInit firstInit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
