Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
BhasulaBhas.A.k
bhasula994@gmail.com
www.facebook.com/username
twitter.com/username
in.linkedin.com/in/profilename
12345656
topic
C PROGRAMMING LANGUAGE
C is a general-purpose, imperative
computer programming language,
supporting structured programming.
C-LANGUAGE HISTORY
• The C programming language is a structure
oriented programming language , developed
at Bell Laboratories in 1972 by Dennis Ritchie.
• C programming language Features were
derived from an earlier language called
“B”(Basic combined Programming Language-
BCPL)
• C language was invented for implementing
UNIX operating system
ADVANTAGES OF C LANGUAGE
1. C is compiler based language rather than
interpreter based.
2. C is portable
3. C is collection of lot of library files
4. C language easy to learn
5. C language support system programming.
DISADVANTAGES OF C
1. C language has no run time checking
mechanism
2. C does not support Object Oriented
Programming(OOP) features , so to overcome
C++ language was introduced.
3. C language has no strict type checking.
4. C language does not support exception
handling.
BASIC STRUCTURE OF C PROGRAM
Structure of c program is defined by set of rules called
protocol . All c programs having sections/parts
which are mentioned below.
1. Documentation Section
2. Link Section
3. Definition Section
4. Global Declaration Section
5. Function prototype Declaration Section
6. Main Function
7. User Defined function Definition Section
BASIC DATA TYPES OF C
• int
• char
• float
• double
MODIFIERS IN C
• short
• long
• signed
• unsigned
• long
C-CONSTANT
C constants are also like normal variables .
Constants have fixed values.
Types of constant
1. Integer constant
2. Real or floating point constants
3. Octal or hexadecimal constants
4. Character constant
5. String constant
OPERATORS IN C
C language offers many types of operators . They are
1. Arithmetic Operators
2. Assignment Operators
3. Relational Operators
4. Logical Operators
5. Bitwise Operators
6. Conditional Operators
7. Increment/decrement Operators
8. Special Operators
Example Program Of C
#include<stdio.h>
int main()
{
char string[20]=“fresh2refresh.com”;
printf (“The string is :%s n ”, string);
return 0;
}
Thankyou…
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us

Presentation

  • 2.
    Disclaimer: This presentationis prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3.
  • 4.
    C PROGRAMMING LANGUAGE Cis a general-purpose, imperative computer programming language, supporting structured programming.
  • 5.
    C-LANGUAGE HISTORY • TheC programming language is a structure oriented programming language , developed at Bell Laboratories in 1972 by Dennis Ritchie. • C programming language Features were derived from an earlier language called “B”(Basic combined Programming Language- BCPL) • C language was invented for implementing UNIX operating system
  • 6.
    ADVANTAGES OF CLANGUAGE 1. C is compiler based language rather than interpreter based. 2. C is portable 3. C is collection of lot of library files 4. C language easy to learn 5. C language support system programming.
  • 7.
    DISADVANTAGES OF C 1.C language has no run time checking mechanism 2. C does not support Object Oriented Programming(OOP) features , so to overcome C++ language was introduced. 3. C language has no strict type checking. 4. C language does not support exception handling.
  • 8.
    BASIC STRUCTURE OFC PROGRAM Structure of c program is defined by set of rules called protocol . All c programs having sections/parts which are mentioned below. 1. Documentation Section 2. Link Section 3. Definition Section 4. Global Declaration Section 5. Function prototype Declaration Section 6. Main Function 7. User Defined function Definition Section
  • 9.
    BASIC DATA TYPESOF C • int • char • float • double
  • 10.
    MODIFIERS IN C •short • long • signed • unsigned • long
  • 11.
    C-CONSTANT C constants arealso like normal variables . Constants have fixed values. Types of constant 1. Integer constant 2. Real or floating point constants 3. Octal or hexadecimal constants 4. Character constant 5. String constant
  • 12.
    OPERATORS IN C Clanguage offers many types of operators . They are 1. Arithmetic Operators 2. Assignment Operators 3. Relational Operators 4. Logical Operators 5. Bitwise Operators 6. Conditional Operators 7. Increment/decrement Operators 8. Special Operators
  • 13.
    Example Program OfC #include<stdio.h> int main() { char string[20]=“fresh2refresh.com”; printf (“The string is :%s n ”, string); return 0; }
  • 14.
  • 15.
    Want to learnmore about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 16.
    Follow us @twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  • 17.
    Emarald Mall (BigBazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us