Assume that a program has the following variable definition: char letter;
Which of the following statements correctly assigns the character Z to the variable?
A) letter = Z;
B) letter = "Z";
C) letter = 'Z';
D) letter = (Z) ;
Correct Answer:
Verified
Q8: Escape sequences are always stored internally as
Q50: The C++ language requires that you give
Q51: Assume that a program has the following
Q52: When writing long integer literals or long
Q54: In C++ 11, if you want an
Q55: What will the value of x be
Q57: In C++ 11, the _ tells the
Q58: C++ 11 introduces an alternative way to
Q59: What will the value of x be
Q60: A preprocessor directive does not require a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents