Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) character literal

 

A character literal is a single character enclosed in single quotes [1]. A character sequence enclosed with double quotes is called a string literal.

 

 

 

 

 

Examples

 

 

 

 

 

 

References

qt

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 7.2.3.2. Character Literals, page 143
  2. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 7.3.2. String Literals, page 176

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict