Question
Each of the following definitions and program segments has errors. Locate as many as you can.char greeting[] = {'H', 'e', 'l', 'l', 'o'};cout << greeting;
Step 1
The variable is declared as a character array (`char greeting[]`), which is correct for storing individual characters. Show more…
Show all steps
Your feedback will help us improve your experience
Watch the video solution with this free unlock.
EMAIL
PASSWORD