Challenge: Hello, C!

Lab C Beginner 10 points

Write a program that prints exactly Hello, C! followed by a new line.

Input

None.

Output

Hello, C!

Example

Output

Hello, C!
Sample output available
Editor
C

Hints

Use printf with the text inside double quotes.

End the text with \n.

Solution explanation

printf prints the text between the quotes; \n ends the line.

Show solution
#include <stdio.h>

int main() {
    printf("Hello, C!\n");
    return 0;
}
Output
Answer
HOME LABS COMMUNITY DASHBOARD