can we use values directly in c++ output statement. explain detaily pls anyone answer soon
Answers
Answered by
2
Values can be used diectly in C++ output statements/
eg: cout<<'2';
Here 2 will be displayed.
If using lager value you need to use double quotes insted of single quotes.
eg: cout<<"22";
Here the output will be 22
Similar questions