Build your intuition. Click the correct answer from the options.
Based on the below example, choose the correct output:
SNIPPET
1int sessionsConducted = 5;
2float avgRating = 4.6;
3char initialLetter = 'A';
4bool isLearningCpp = true;
5
6cout << sessionsConducted << endl;
7cout << avgRating << endl;
8cout << initialLetter << endl;
9cout << boolalpha << isLearningCpp << endl;
Which of the following will be printed to the console?
Click the option that best answers the question.
- 5 4.6 A 1
- 5 4.6 A True
- 5 4.6 A true
- 5 4.6 65 true