Computer Science, asked by Aj987, 4 months ago

differentiate between char a 5 and int a 5​

Answers

Answered by Mehwish09
6

Answer:

The main difference between int and char is in int data type you can only numbers and digit,digits varies from 0 to 9 either that can be positive or negative but in char data type you can store only alphabets. Both are data types. int is used to tell that the variable contains the data of type integer.

Hope this helps uh.....!!!!!

Plz plz plz Mark as BRAINLIEST

FOLLOW ME

THANK MY ANS

Attachments:
Answered by mandeeshsandhu
2
Char means character value which is written in single inverted commas
For eg char a = ‘m’
Whereas
int contains integer values
For eg : int a = 4
Similar questions