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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!