What is purpose of (' ')?

when we use cout we use " " and when we use single ’ ’ ??? please explain with example

when you have to print a string you should use " :"
ex :
cout<<" coding blocks:" ; :heavy_check_mark:
but if you use ’ ’ here it will give compilation error
cout<<'coding blocks' :heavy_multiplication_x:

when you have to print a single character use ’ ’
cout<<'a'<<endl; :heavy_check_mark:
cout<<“a”<<endl; :heavy_check_mark:
both are correct but second one is consider as string

i hope this helps
if yes hit a like and don’t forgot to mark doubt as resolved :grinning:
if you have more doubts regarding this feel free to ask