+ 2
C++ says that class first letter should be capital but why string class first letter is small 's'?
2 Answers
+ 4
Its just a convection to take first letter as capital. You can take any of your choice.
String is a class, but is used as a datatype for most of the time. So its small "s" so that normal users dont get confused about ints floats chars and "Strings".
I think you understood what I'm sayingđ
+ 2
Yes Charitra Agarwal