Example(s):Palindrome, prime, armstrong, "linear search", reverse etc.
Example(s):1575, 1632, 1539 (Only one at a time)
Login
[lwa]
Solved Problem!
#CPP#3164
Problem Statement - Finding Errors – Escape Sequences
There are some errors in the following code due which the expected output as given below will not come “C++” is tricky & powerful
TC++ #3164
Solution
cout<<““C++“ is tricky & powerful.\n”;
Special character double quote if required to be printed should be written like escape sequence \”.
Also there is extra backslash before \n.
this statement should be correctly written as cout<<“\”C++\” is tricky & powerful.\n”;