how many type of variables in c++

Discussion in 'Programming' started by bulochc83, Jul 9, 2010.

  1. #1
    suggest me.....
     
    bulochc83, Jul 9, 2010 IP
  2. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
  3. DavidWincent

    DavidWincent Peon

    Messages:
    119
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There are four basic types of variables in C++. They are char, int, float and double. There are two size qualifiers short and long which can be used with int. Also there are 2 types of signs, signed and unsigned.
     
    DavidWincent, Oct 19, 2011 IP
  4. rajpk

    rajpk Well-Known Member

    Messages:
    252
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    113
    #4
    very basic
    use some tutorial or Google it
    you will get everything
     
    rajpk, Oct 21, 2011 IP
  5. jhony king

    jhony king Member

    Messages:
    460
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    38
    #5
    char,int and flot are variable that use in C++ language.
     
    jhony king, Dec 21, 2011 IP
  6. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    819
    Best Answers:
    7
    Trophy Points:
    320
    #6
    I suggest you need 4 types of variables in C++.
     
    mmerlinn, Dec 22, 2011 IP
  7. pamela321

    pamela321 Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    for the best results you better Google it. more over there are 4 types of variables in C++, int, char, float, double
    int also includes unsigned int , signed int, long int, short int, unsigned short int, unsigned long int.
     
    pamela321, Dec 23, 2011 IP