What is the output of this code?cpp#include using namespace std;int main(){ char c = 255; if(c>10) printf('c = %i, which is greater than 10', c); else printf('c = %i, which is less than 10', c); return 0;}

🎲 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.


What is the output of this code?<br>cpp<br>#include <cstdio><br>using namespace std;<br>int main(){<br> char c = 255;<br> if(c>10)<br> printf('c = %i, which is greater than 10', c);<br> else<br> printf('c = %i, which is less than 10', c);<br> return 0;<br>}<br>