Introduction To C Programming - PowerPoint Slides
Introduction To C Programming - PowerPoint Slides
Drop Us a Query
Need a Tut
Coaching C
Post an enquiry and g
responses from qua
experienced tu
POST REQUIREM
Related PPTs
1 of 23 C Language Lo
C, C++
1,240 views
Introduction To C Programming 1,218 views
Programming
C, C++
Praveen R Qualification: MCA
3,880 views
Chennai Teaches: Mathematics, Computer, Contact this tutor
5 Years of Experience Physics, Computer Science, ...
Array in C
This PPT covers Origin, Features, Characteristics, Programmimg Structure, Character set and Uses of C Programming. C, C++
1,006 views
1 'C ROGUMMING
C Programmin
2 I HNIdVHD Lecture IV
C, C++
786 views
3 Session Objectives & Discuss the Origin of C & Features of C & Characteristics of C & Current Uses of C & "C"
Programming Structure & Character Set
Bitwise Opera
---•"C'V-is-æMiddleLLeveHangu UNGU "C" is compiler based Language "C" is a Case Sensitive Language C, C++
4
2,994 views
5 Originuot.gc e is a Structure & Procedure Oriented Programming language de eloped by Dennis Ritchie at AT&T Bell
Laboratories in USA in th Year 1972 BCPL Martin Richards (Basic Combined Programming Language) - Ken Thompson B
C - Dennis Ritchie In to C progra
C, C++
2,248 views
6 • Economy of Expressions • Modern Control Flow and Structures • Rich Set of Operators It is Well suited for writing both
System Software like Operating Systems, Interpreters, Editors and Assembly Programs
7 •e•ctTRRENT USES OF U IX Operating System was Developed by Using "C" La uage Devel ing database Systems Graphi Programming
Packages Spread heets Word Pro essors Office aut mation Scientific/ ngineering Applications CAD/CAM pplications C, C++
Drop Us a Query:
984 views
8 —&ogramming Preprocessor Directives (Incl. headerFi1e) Global Variable Declarations; void main() Local Variable
Name
Declarations; Input/ Output Statements; Note : f" Statements should end with Semicolon(;) Every '
C Language O
9 sso Prep ocessor directives are the instructions given to the compil They ar not translated into machine language, Email
but C, C++
are operated pon directly by the compiler before the compiling p ocess begins, Preprocesso directives begin with a # 4,033 views
(hash) Preprocessor directives are often placed in the beginning of a program before the main() is declared,
Mobile Number
10 •—HEADER Flt A lot of library functions are subdivided into number of groups. This groups are called Header files
Your Query? Introduction t
Syntax : Examples: Stdio Conio Void main() #include #include #include -> Standard Input/Output -> Console Languages - 1
Input/Output -> Keyword. It Means Returns Nothing. -> I is a function name which can be used to i dicate the beginning C, C++
of the program execution
Drop Us a Query
1,675 views
11 C has 32 keywords. O These keywords combined with a formal syntax form a C O programming language. Rules to be
followed for all programs written in C O All keywords are lowercased C is case sensitive, do while is different from DO C Programmin
WHILE Keywords cannot be used as a variable or function name This is a sample progrmt'L + / Int =
Submit C, C++, Data S
1,456 views
12 # inch-Ide Lj)ra.ry File Souræ Compi.kr Object Fik Linker Executable Fik Other LTser- generated Object Fik
13 "EPS IN LEARNING'CV Programs Instructions Keywords Conktants, varia les & Data ypes Alphabets, Digits,SpeciaI Upload PPTs
Characters
16 Escape Sequence ape sequences are specified as the first argument in Outp t Statement. They are always preceded
UPLOAD NO
with a backu ash Code If It la Meaning Backspace Fr-lm-n feed New Ime Carriage reb-lrn Hr-Itzr-lntal tab Double quote
Single quote Null Backslash Vertical tab Alert Octal constant (where N is an constant) Hexadecmal constant (where N is
a hexadecmal constant)
17 Varia les are named locations in memory that are used to hold a alue that may be modified by the program. ÄThe Ask a Study Q
syntax for declaring a variable is Data type Variablename; Valid Examples : csc Chennai Some erroneou identifier
names are - avg_val Anu Istsst oh!god ml mark 1 Clear your doubts from ou
and Experienced Tutors an
18 RULES for framing a variable : • The first character in the Variable name must be an alphabet • Alphabets can be
followed by a number of digits or underscores • No commas or Blank spaces are allowed within a variable name • No ASK NOW
Special character other than Underscore(_) can be used in a variable name. • The variable name should not be a
keyword • Variable names are case sensitive • It should not be of length more than 31 characters
19 D Datarypes SecoddyD±lypes Chara ter Integer Float Double structure Union Pointer enum
20 Type char ıınsigıed sigıed char ült ımsİgıed ınt sigıed ült Eıhüit ınt IMT3İgıed shı:ıit ınt sigıeı:l E.hüit ınt sigıed shr-ırt ınt
long ült sigıed long ült ımsİgıed lı:ıng int flüıat dı:ıı-ıble Ir-ıng dl--ıı.ıble Approimate Size in Bits 32 32 32 32 64 Minimal
Range -128 tı--1 -128 127 -32, TM tl--1 Ea-ne as ınt Earne as ınt tl--1 535 Ea•ne as shüit ınt Ea-ne as short ınt tı--1 Eix
digits of prec.isıon Ten digits of precisıon Ten digits of precisıon
21 "—IL-secondary Data Types Type Definition Exam le: Typedef int age; age male,female 2.Enumerated Datatype Exam le
: enum mon{jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec };
22 Session Summary All variable must be declared in the program before all executable statement Comments st ements
may or may not be present in a program Comment state ent improves the readability of a program A program will
always begin by executing the main() function Every C program m st contain atleast one function which must be a
main()
23 1. 2. 3. 4. 5. 6. EXERCISES Why iti required to include header files your C program? What is include statement? Indicate
its use? Why is the main() function is so special Write a prog am to calculate Simple and Compound Interest? State the
use of comment symbol in a program? Describe the t pes of constants? Give example?
Copyright Infringement: All the contents displayed here are being uploaded by our members. If an user uploaded your
copyrighted material to LearnPick without your permission, please submit a Takedown Request for removal. Drop Us a Query:
Name
Delhi Tutors
Pune Tutors Math Tutors Delhi Tuition Jobs Learning Resources
Mumbai Tutors Ahmedabad Tutors English Tutors How It Works About Us
Mobile Number
Bangalore Tutors Jaipur Tutors Science Tutors Tutor Sign Up Contact Us
Kolkata Tutors Chandigarh Tutors Physics Tutors Institute Sigh Up Careers at LearnPick
Chennai Tutors Noida Tutors Accountancy Tutors TestimonialsYour Query? Our Partners
Hyderabad Tutors Other Cities Spoken English Tutors Help Center Read Our Blog
Online Classes
Drop Us a Query
support@learnpick.in
Request a Tutor
Submit
International Sites:
USA, UK, Canada, France, Spain, Germany, Netherlands, South Africa, Singapore, Hong Kong, UAE, Malaysia, Qatar
Thailand, VidOnko, EduBow
Disclaimer: LearnPick is a tutoring marketplace and a community which helps connect learners to great tutors and trainers. We do not introduce or supply tutors to those seekin
select or propose specific tutors to those seeking tuitions or learners to tutors. LearnPick does not verify the identity of or information posted by, tutors or learners. P
Safety Centre for guidance on how to verify the identity of and information posted by, other users.