Skip to main content

Why Do We Use Double Quotes In C?

by
Last updated on 1 min read

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

Edited and fact-checked by the FixAnswer editorial team.
Juan Martinez

Juan is an education and communications expert who writes about learning strategies, academic skills, and effective communication.