First Program in C Language
Hello Friends ,I am aarti . I love programming languages
such as C,C++,Java etc…
I like to code the program . So,I am sharing my knowledge of
programming languages with you.I will try to give all essential details of computer
language in depth with practical demos in a very simple language.
First and Foremost , We will discuss about C programming
Language.
C Programming Language is the Procedure-Oriented Language.It is high
level language.It provides a a very large library which contains numerous functions.Each
function performs a specific task independently.It is Case-Sensitive
language.All C programs consists of one
or more functions.One function that must be present in every C program is main() function. When the C
program executes the main() function first called up. The main() is the keyword
,we can not use for naming the variables. We write the main() function as :
Here, we see ‘void’ keyword .’void ’ means no return type.It
holds nothing means it would not return any value .
Lets see how to display a message on the screen.
printf() : This function prints the words on the output
screen .The text to be printed is enclosed in double quotes.
Lets see the output
No comments:
Post a Comment