Skip to main content

Problem Statement

Write a C program that prints your name to the console.

Solution

#include <stdio.h>

int main() {
    printf("John Doe\n");
    return 0;
}

Output

John Doe