How to print quotation marks in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to print quotation marks in c++

What’s the rule to print sign which has already has special meaning.

26th Aug 2018, 6:38 AM
Sam
Sam - avatar
1 Answer
+ 3
you create a char variable and give it a value of the ASCII code for the character you want, then you print that variable. In this case quotation marks have a code 34 https://code.sololearn.com/c7wCaQA6Rr8g/?ref=app
26th Aug 2018, 7:08 AM
Data
Data - avatar