








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This PDF contains the Chapter 2 slides of C Language, covering the fundamental concepts in a simple and easy-to-understand way. The slides explain important topics with examples, making it easier for students to follow along during study or revision. These slides are very helpful for quick learning, class presentations, and exam preparation.
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!









T y pe Decla r a t ion In stru c t ion s Con tr ol A r i t hme t ic In stru c t ion s In stru c t ion s
in t a = 22 ; in t b = a ; in t c = b + 1 ; in t d = 1 , e ;
in t a = 22 ; in t b = a ; in t c = b + 2 ; in t d = 2 , e ; in t a , b , c ; a = b = c = 1 ; in t a , b , c = 1 ;
a = b + c
b + c = a a = bc a = b ^ c a = b ***** c a = b / c NOTE - po w(x,y) fo r x t o t he po w e r y
Re tur n s r emainde r fo r in t 3 % 2 = 1
- 3 % 2 = - 1
x = 4 + 9 * 10 x = 4 * 3 / 6 * 2
x = 4 * 3 / 6 * 2
a. A r i t hme t ic Ope r a t o rs b. Rela t ional Ope r a t o rs d. Bi tw i s e Ope r a t o rs c. Logical Ope r a t o rs e. A ss ignmen t Ope r a t o rs f. Te r na ry Ope r a t o r
Rela t ional Ope r a t o rs
1 2 3 4 5 6 7 8
*! , /, % +, - <, <=, >, >= ==, != && || =
A ss ignmen t Ope r a t o rs