Basics of C Language

Computer Awareness Notes For Exams

Basics Of C Language For Exams

Basics Of C Language with Example Programs

C language is a high level language developed by Dennis M. Ritchie at Bell Labs USA in 1972, now called as AT and T.

Father of C language – Dennis Ritchie.

C Language is very easy to understand and implement. It is general Purpose, Structured language and high level Language.

Operating systems written in C language




Lets see Basic Hello World Program in C

#include <stdio.h>
int main()
/* Hello World program */

printf("Hello, World!");


Lets see “Hello world” Program, 

      1. #include

#include is preprocessor command tells the computer( c compiler) to inclulde stdio.h into our program before acutual compilation.

      2. int main()  

main() is function where programs starts or begin

      3. Printf

Printf is a function in c language used to print message to display on screen

Like as printf(” This is C language basics”);

      4.  /*      */

This is used for comments, compiler ignores this part  /* “Hello world” Program  */

C Tokens:

Tokens in c languages are Keywords, Identifiers, Constants, Operators, Strings and Symbols


Keywords are reserved Words cant be used as Variables, Constants and Identifiers

Keywords are written in lower case.


Identifiers are used to identify user defined elements, Variables and functions

Identifiers uses A to Z, a to z, 0 to 9 but not special character like @, $, % , #


Name itself shows meaning, fixed- doesn’t change.



String is array of characters

char fdaytalk={ ‘H’, ‘e’, ‘l’, ‘l’, ‘o’};


Special symbols are 




]  and ” , “.

Next Topic:  Control statements and Variables

Learn More

Link 1 – Latest Central government Jobs 2019

Link 2 – Banking Awareness 1000+ MCQ and Questions

Link 3 – Complete Gk Gs for Competitive Exams

Link 4 – Indian Constitution Notes for competitive Exams

Link 5 – Top Books for Competitive Exams

Link 6 – Download Quantitative and Aptitude Competitive Exams

Related Search: 
Computer Awareness in Bank bits, Computer Awareness mcq in exams, Computer Awareness mcq question in ibps, Computer Awareness notes for ibps exams, Computer Awareness about c language, c language basic


Redmi 13R 5G unveiled: A Rebranded Redmi 13C 5G Infinix Smart 8 HD: 90Hz display, side-mounted fingerprint for ₹6299 Apple Watches May Get Brighter External Flashlight, Patent Reveals Motorola unveils Peach Fuzz Razr 40 Plus and Edge 40 Neo Infinix unveils Hot 40, Hot 40 Pro and Hot 40i: Gaming Phones