Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

C LANGUAGE

Rating
-
Sold
-
Pages
19
Uploaded on
29-08-2025
Written in
2025/2026

BASIC C LANGUAGE EASY NOTES ,DEFINITON AND SYNTAX

Institution
Course

Content preview

C LANGUAGE

 C is a Programming Language developed by "Dennis Ritchie" at
AT&T Bell Labaratory in 1970's.
 c is middle level language.
 Compiler-> converts into binary digits,
It reads whole program

Advantages:

 Easy To Learn
 Simple
 Portable
 Flexible

Structure Of Program:

//->single line comment

/*.............*/->multiline comment

1.header file:

# include<stdio.h>

#include<conio.h>

#->preprocessor directive



2.void main() (or) int main()

{

----- //body of the loop

, -----

}

3.printf("hello"); ->for display the output

4.scanf("%d",&a); ->for get the input

5.getch(); ->to get the character (OR) return 0;

6.\n ,\t ->new line, tab space

7.clrscr(); ->to clear the screen

Data Types:

1.int -2bytes

2.char -1bytes

3.float -4bytes

4.double - 8bytes

5.long double -10 bytes

Variables:

a,b,c etc.....

Declaration:

int a;

float c;

char name;

Initialization:

, int a=10;

float c=20.5;

char name='a';

Operators:

1.Arithmetic operators +,-,*,/,%

2.Increment and Decrement operators

pre increment ++a;

post increment a++;

pre decrement --a;

post decrement a--;

3. Relational operators

== equal

!= not equal

> greater than

< less than

>= greater than or equal

<= less than or equal

4.Logical operators

&& logical AND

|| logical OR

Written for

Course

Document information

Uploaded on
August 29, 2025
Number of pages
19
Written in
2025/2026
Type
Class notes
Professor(s)
Jeniba
Contains
All classes

Subjects

$8.39
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
kaleeswari110697

Get to know the seller

Seller avatar
kaleeswari110697 css academy
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
8 months
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions