Define the C++ statements.

Q37. Define the following:

  • A short integer with the value 90.
  • An unsigned int integer with the value 31240.
  • An integer with the value 3000000000.

Ans.(i). short int var = 90;

Ans.(ii). unsigned int var = 31240;

Ans.(iii). long int var = 3000000000.

Leave a Reply

Your email address will not be published. Required fields are marked *

94 Views
%d bloggers like this: