Why Do We Use Double Quotes In C?

by | Last updated on January 24, 2024

, , , ,

In C and C++ the single quote is used to identify the single character, and double are used for string literals . A string literal “x” is a string, it is containing character ‘x' and a null terminator ‘

Juan Martinez
Author
Juan Martinez
Juan Martinez is a journalism professor and experienced writer. With a passion for communication and education, Juan has taught students from all over the world. He is an expert in language and writing, and has written for various blogs and magazines.