The structure of the C language is divided into four main parts:
Preprocessor Directives
These tell the compiler how to compile the program.
Variables and Data Types
Variables are containers that store data, and data types are used to define the type of data stored in a variable.
Functions
A function is a block of code that performs a specific task when called.
Statements and Expressions
These are instructions that tell the compiler how to execute the program.
Keywords
Constants
Variables
/*
* -----------------------------------------------------------
* Logic Building with Computer Programming (CSU1128P)
* Instructor: Abdullahi Adem | Author: Divya Mohan
*
* This code is a part of the educational initiative by dmj.one
* with aim of empowering and inspiring learners in the field of
* Computer Science and Engineering through the respective courses.
*
* (c) 2022, Divya Mohan for dmj.one. All rights reserved.
* -----------------------------------------------------------
*/
#include <stdio.h>
int main()
{
printf("Hello World \n");
return 0;
}
Output:
Hello World