Challenge: Quotes and Tabs

Lab C Beginner 10 points

Print these two lines. The second line starts with a tab:

He said "C is cool"
	The end

Input

None.

Output

The two lines above.

Example

Output

He said "C is cool"
	The end
Sample output available
Editor
C

Hints

Write \" to put a double quote inside the text.

\t is a tab.

Solution explanation

Escape sequences start with a backslash: \" prints a quote and \t a tab.

Show solution
#include <stdio.h>

int main() {
    printf("He said \"C is cool\"\n");
    printf("\tThe end\n");
    return 0;
}
Output
Answer
HOME LABS COMMUNITY DASHBOARD