Computer Science, asked by snehasweetdgp, 1 year ago

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


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

Answers

Answered by Anonymous
0
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.
Answered by tithi
0
characters cant be -ve while integers can be -ve in C++
hope i helped u:)

tithi: plzzzzzzzzzzz mark as best
Similar questions