+ 1

Which datatype should I use to assign value like +, -, * or /

The +, - etc. are not operators but characters.

26th Aug 2017, 9:54 AM
Atin Roy
Atin Roy - avatar
2 Answers
+ 2
a = "apple" << "=" here is initializing a value. b = a <<" =" here this is assigning the value of one variable to another.
26th Aug 2017, 11:11 AM
D_Stark
D_Stark - avatar
+ 1
You just answer your question... Use any 'character' like data type available in your choosen language. And remember that even so a few symbols will need attention to be stored.
26th Aug 2017, 9:58 AM
Carlos J Sousa
Carlos J Sousa - avatar