H
H9910523@gmail.com
asked

Expert
Kelish Rai answered
It looks like you're a bit confused about the difference between printing 67 (a number) and "67" (a string). No worries—let me break it down for you with a simple example.
When printing "67" (a string), you need to enclose it in quotation marks:
cout << "67";
But when printing 67 (a number), you don’t need quotation marks:
cout << 67;
Hope this helps! If you need more clarification, feel free to ask a follow-up question below—I'm happy to help.
C++
This question was asked as part of the Learn C++ Basics course.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer