#include <stdio.h>
int
main()
{
printf
("hello world")
;
return
0
;
}
//semicolon is used to terminate a particular statement.
//every single object of a c program is called a token.
//basic tokens are keywords, identities, string literals
& symbols.
// keywords are some reserved words in c programming like int
return etc
// identifier is just a name given a variable or constant.{a-z}
// all the panctuation marks just @#%^& are not marked as
identifiers.
// c is a case-sensitive programming in which h & H is different.
//In the following program 0 is a constant. any number is
a constant cause it has a specific value.
//Here the main statement is hello world which is a string
literal.
// &a, &b is basic symbols of c programing.
// blank or white spaces dosen't metters.
//importent there must be an space between each and
every single token.
project:_2
#include <stdio.h> //preprocessing files/header files
int //reserve keywordof a c programme//
main() //main is a finction.//
{
printf ("hello world!");//things written in the those "" is the string literal.//
return //reserve keywordof a c programme//
0; // 0 is a constent.//
}
No comments:
Post a Comment
here we are to help you.you can watch videos and get information about :- (1) scientific facts (2) education (3) gaming (4) music (5) lyrics (6) cartoons and many more.So keep watching keep learning, thank you.