InterviewSolution
| 1. |
In C Programming, How Do You Insert Quote Characters (‘ And “) Into The Output Screen ? |
|
Answer» In C programming every symbol have their UNIQUE identity and ASCII value. As ‘ and ” are a special CHARACTER, before using these you have to be careful. If you want these to be printed like a simple character in a STATEMENT then just use format specifiers before these to indicate as a simple printable character. Example- ’ will print single QUOTE and ” will print double quote. In C programming every symbol have their unique identity and ASCII value. As ‘ and ” are a special character, before using these you have to be careful. If you want these to be printed like a simple character in a statement then just use format specifiers before these to indicate as a simple printable character. Example- ’ will print single quote and ” will print double quote. |
|