Define the String Constant.Explain with the help of Examples.
Hi dear Kuldeep !
A string constant is any number of character enclosed between double quotes
'a' is a character constant where as "a" is a string constant
a string constant may also include numbers special symbols , operators white spaces and so on ,in general any printable character !
eg "12346" , "!#$%" , "a12a12s" are valid examples for string constants
Post a follow up in case if you have any quires
Thanks and Regards !
Prince M. Premnath