Go back to Richel Bilderbeek's homepage.

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

 

 

 

 

 

(C++) signed

 

signed is a keyword that modifies a data type to hold both positive and negative values.

 

int main()
{
  const int x = 123; //x can contain positive and negative integers
}

 

 

 

 

 

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

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict