Introduction to C Programming Language - PPT (1) - PowerPoint PPT Presentation

About This Presentation
Title:

Introduction to C Programming Language - PPT (1)

Description:

PSK Technologies Nagpur provides Training and Internship in Software Development Course, C Programing Language, Learn C and C++ in Nagpur Best Institute to know more about this course visit our website – PowerPoint PPT presentation

Number of Views:2028

less

Transcript and Presenter's Notes

Title: Introduction to C Programming Language - PPT (1)


1
C (Programming Language)
  • PSK Technologies

By Arti Sontakke
An ISO 90012015 (QMS) Certified IT Company
Computer Education Software Development
Computer Sales Services Email
info_at_psktechnologies.co.in website
www.psktechnologies.co.in
2
History of C
  • 1967
  • (BCPL (Basic Combined Programming Language)
  • Martin Richard at Cambridge University)
  • 1970
  • (B - Ken Thompson at AT T's Bell
    Laboratories.)
  • 1972
  • (C - Dennis Ritchie at AT T' Bell Laboratory.)

3
Definition of c Language
C is a procedure oriented Structured
programming language . C is a basic programming
language
https//www.psktechnologies.co.in/
4
  • Numeric Constant
  • Integer constant
  • Eg1,5,67,346 etc.
  • Float constant
  • Eg2.3,8.45,6.8 etc.
  • Character Constant
  • Eg a , x , g etc.
  • String Constant
  • EgHello ,good

Constant in C Language
https//www.psktechnologies.co.in/
5
DATA TYPES IN C LANGUAGE
  • There are two types of Data Types
  • Primary Data type
  • Secondary Data type

https//www.psktechnologies.co.in/
6
Primary Data Type
Name Denoted By Format Specifier
Size Integer int d 2
Byte Float float f 4 Byte Character
char c 1 Byte
https//www.psktechnologies.co.in/
7
Secondary Data Types
1)Pointer 2)Array 3)String 4)Structure
https//www.psktechnologies.co.in/
8
Variables Of c Language
Variable is a name given to a specific memory
location . Variable is use to hold the values ,
variables are always used with data
types. Variable name can be anything.
https//www.psktechnologies.co.in/
9
Variables inside Memory
  • int num67
  • float y5.8
  • Char chk

Num67
Y5.8
Chk
https//www.psktechnologies.co.in/
10
Rules for declaring variable name
  • The maximum length of variable name is 8
    characters and minimum is 1.
  • Variable name can contain numeric values and
    under score( _ ).
  • Eg int num 6
  • num_one
  • num23
  • num_1

https//www.psktechnologies.co.in/
11
  • The first letter of variable name should be start
    with character
  • Eg
  • 1num
  • _ch
  • Variable name can not contain spaces and points
  • Eg
  • num one
  • num.one

https//www.psktechnologies.co.in/
12
Header files/Prototypes in C
Header files contain the definition of functions
which are used in programming.
includeltstdio.hgt (Preprocessor directive)
stdio (Standard input output)
https//www.psktechnologies.co.in/
13
  • printf()
  • This function is use to print the text
    message at the output screen.
  • Eg
  • printf(Hello and welcome to c program)

https//www.psktechnologies.co.in/
14
2)scanf() This function is use to scan the
values. Eg int num float x char
ch scanf(d,num) //Here gives
address scanf(f,x) scanf(c,ch) Scanf(
dfc,num,x,ch)
https//www.psktechnologies.co.in/
15
includeltconio.hgt conio (console
input/output) clrscr() To clear the previous
output screen getch() To print all characters
at the output screen and to hold the output
screen.
https//www.psktechnologies.co.in/
16
PSK TECHNOLOGIES Nagpur is a IT Education and
Training provider Company in India. PSK
Technologies excellence as a Software, Hardware
Networking Development. We are well known as the
No. 1 IT Training Software Development Sales
Services Digital Marketing Company in Nagpur.
C Language C Course HTML Java PHP Python
Advanced Hardware Advanced Network CCNA MCITP/ MCSE Linux CCNP
Tally with GST Digital Marketing Computer Sales Services We Designing
https//www.psktechnologies.co.in/
17
Thank You
PSK Technologies
Follow us on
https//www.psktechnologies.co.in/
Write a Comment
User Comments (0)
About PowerShow.com