Sunday, July 26, 2009

Hi how can i get the output as "ram" with double inverted commas in turbo c++?

hi how can we get output in screen with double inverted commas in turbo c++

Hi how can i get the output as "ram" with double inverted commas in turbo c++?
Use the escape sequence, it's \"





So your string would look like "\"ram\"".
Reply:I'm on Linux. I just looked it up in my system documentation and the numeric value for the double quotes character is 34. I tested it with a printf("%c", 34");. l So far that looks right. If I were you I'd just use strcat() to insert them into your program.


No comments:

Post a Comment