C Hello World Program Last Updated : 12 Jul, 2025 Comments Improve Suggest changes 140 Likes Like Report The “Hello World” program is the first step towards learning any programming language. It is also one of the simplest programs that is used to introduce aspiring programmers to the programming language. It typically outputs the text "Hello, World!" to the console screen.C Program to Print "Hello World"To print the “Hello World”, we can use the printf function from the stdio.h library that prints the given string on the screen. Provide the string "Hello World" to this function as shown in the below code: C // Header file for input output functions #include <stdio.h> // Main function: entry point for execution int main() { // Writing print statement to print hello world printf("Hello World"); return 0; } OutputHello WorldExplanation:#include <stdio.h> – This line includes the standard input-output library in the program.int main() – The main function where the execution of the program begins.printf(“Hello, World!\n”); – This function call prints “Hello, World!” followed by a new line.return 0; -This statement indicates that the program ended successfully.To go beyond the basics and explore data structures and more advanced topics, the C Programming Course Online with Data Structures takes you from beginner to expert First C Program Visit Course Comment C chinmoy lenka Follow 140 Improve C chinmoy lenka Follow 140 Improve Article Tags : C Language C Basic Programs Explore C BasicsC Language Introduction6 min readIdentifiers in C3 min readKeywords in C2 min readVariables in C4 min readData Types in C3 min readOperators in C8 min readDecision Making in C (if , if..else, Nested if, if-else-if )7 min readLoops in C6 min readFunctions in C5 min readArrays & StringsArrays in C4 min readStrings in C5 min readPointers and StructuresPointers in C7 min readFunction Pointer in C6 min readUnions in C3 min readEnumeration (or enum) in C5 min readStructure Member Alignment, Padding and Data Packing8 min readMemory ManagementMemory Layout of C Programs5 min readDynamic Memory Allocation in C7 min readWhat is Memory Leak? How can we avoid?2 min readFile & Error HandlingFile Handling in C11 min readRead/Write Structure From/to a File in C3 min readError Handling in C8 min readUsing goto for Exception Handling in C4 min readError Handling During File Operations in C5 min readAdvanced ConceptsVariadic Functions in C5 min readSignals in C language5 min readSocket Programming in C8 min read_Generics Keyword in C3 min readMultithreading in C9 min read Like