Exploring C and C++ default types

The C and C++ languages come with several built-in types that come with the language, without the need for additional header files or language features. In this section, we will be discussing the following:

  • char, wchar_t
  • short int, int, long int
  • float, double, long double
  • bool (C++ only)