Error: missing terminating double quote character in C
This Error: missing terminating (") character is occurred, when a constant string or text is not closed in double quotes either you missed closing quotes or using singe quote instead of double quote while closing the string/text.
If string/text is not closed in double quotes, compiler throws this error.
Example 1:
Output
Example 2:
Output
How to fix?
In the first program, closing double quote is missing, and in the second program, text is closing by single quote instead of double quote.
To fix this error, use double quote to close the string/text.
Correct code:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer