What is the difference between character and integer type data in c++???

2
hey sum1 pls help.....plsss
both are used to tell the type of data.Suppose we have a variable a,,as int a; it means
a is of type int .
if we write char a='a'; which means a is of type char and a have value 'a'.........

Answers

  • Brainly User
2014-06-19T12:34:21+05:30
In C++ in front of characters we dont use the minus sign but in integers we put a - sign in front of them and both are used to tell the type of data.
0
2014-06-19T17:27:45+05:30
Characters cant be -ve while integers can be -ve in C++
hope i helped u:)
0