For these declarations, which choice shows four equivalent ways to assign the character 'y' in the string to a char variable c?cppchar buff[50] = 'strings as arrays of characters are fun!'char *str = buff+11;char c;

🎲 Try a Random Question  |  Total Questions in Quiz: 70  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C++ Quiz — practice the complete quiz, review flashcards, or try a random question.

MCQs For LinkedIn Skill Assessments.


For these declarations, which choice shows four equivalent ways to assign the character 'y' in the string to a char variable c?<br>cpp<br>char buff[50] = 'strings as arrays of characters are fun!'<br>char *str = buff+11;<br>char c;<br>