top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between 'x' and "x" in c language?

0 votes
1,354 views
What is the difference between 'x' and "x" in c language?
posted Dec 6, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Double quotes is for string and single quotes for character

for example say:
Char c = 'a'; - treat as single character
Char c= "a" - treat as string

answer Dec 14, 2017 by Sushant Bose
...