c++ programing

hi iam biginer ineed to know different between string and character


  • a string is a sequence of characters,for example "shahrukh" "struct11"
    a string is always enclosed in double quotes " "
    whereas in case of characters
    a character is just of a single byte and is enclosed within single quotes or you can say that every key on keyboard other then the function keys resembles a character.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion