+ 2

What is the difference between 0 , '0', "0", '\0' in C++??

What is the difference between 0 , '0', "0", '\0' in C++ ??

5th Mar 2017, 9:23 AM
mihir sharma
mihir sharma - avatar
2 Respuestas
+ 2
0 is a number '0' is a charecter "0" is a string '\0' is null character
5th Mar 2017, 10:31 AM
vishnu
vishnu - avatar
0
thx..!
5th Mar 2017, 11:26 AM
mihir sharma
mihir sharma - avatar