+ 3

Int or char

"+" is int or char

30th Dec 2020, 12:46 PM
MUKUL Choudhary
MUKUL Choudhary - avatar
3 Respostas
+ 4
Neither "+" Is a string consisting '+' and '\0' '+' is character which can also be stored as integer as it's ASCII value.
30th Dec 2020, 12:49 PM
Arsenic
Arsenic - avatar
+ 2
Thank you Arsenic for help
30th Dec 2020, 2:07 PM
MUKUL Choudhary
MUKUL Choudhary - avatar
+ 1
From my understanding, '+', used as an operator, is just a character. And considering that it isn't included in data for storage when used as an operator, I think I can say that it doesn't have a data type. The only reason I put it here, apart from the obvious reason for helping you, is to check whether I haven't misunderstood anything; I'm open to criticism.
30th Dec 2020, 1:05 PM
Calvin Thomas
Calvin Thomas - avatar