Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions

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

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'.........


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 0 0
Characters cant be -ve while integers can be -ve in C++
hope i helped u:)
0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts