Sizeof (" w ") why would be 4
Only is equivalent to the sizeof (char), should be 1
CodePudding user response:
'w' is type int, improved type implicit, you can see the getchar () function prototype the return value of a type is type int,
CodePudding user response:
STD: : cout & lt; STD: : cout & lt;
Results:
CodePudding user response: