Which statement allows you to properly check the char variable code to determine whether it is equal to a C and then output This is a check?
a. if code is equal to C
cout << "This is a check\n";
b. if (code = "C")
cout << "This is a check\n";
c. if (code == 'C')
cout << "This is a check\n";
d. if (code == C)
cout << "This is a check" << endl;
c. if (code == 'C')
cout << "This is a check\n";
Computer Science & Information Technology
You might also like to view...
The Is Null expression is used to find blank fields
Indicate whether the statement is true or false
Computer Science & Information Technology
The term modal refers to
(A) the user not being allowed to shift the focus to any other form until the displayed modal form is hidden. (B) the BorderStyle property is set to "-Fixed Double." (C) the ability to reposition a form at run time. (D) the ability to display more than one form at one time.
Computer Science & Information Technology