C Tutorial for Beginners PowerPoint PPT Presentation

presentation player overlay
About This Presentation
Transcript and Presenter's Notes

Title: C Tutorial for Beginners


1
C Tutorial for Beginners
2
C is a general-purpose, high-level language and,
it was originally developed by Dennis M. Ritchie
between 1972 and 1973 to develop the UNIX
operating system at Bell Labs. If you are new to
programming, C is the best choice to start your
programming journey.
3
If you are new to programming then C Tutorial
with the best programming approach for beginners
and professionals, helps you to understand the C
language tutorial easily step by step. Our C
tutorial explains each topic with programs by
basics to the advanced level. C programming is
the Mother of all the programming languages. In
other words, it is the base for other programming
languages.
4
Why Learn C Programming?
  • Easy and simple to learn
  • High-level language
  • Structured programming language
  • System programming language
  • procedure-oriented programming language
  • It produces efficient programs
  • It can handle low-level activities

5
Hello world using a C programming language
"hello world" is the basic program of C
programming language includeltstdio.hgt int
main() printf("Hello World") getch ()
//Pre-processor directive include is a
pre-processor directive in 'C program' //Main
function
6
There are various main function that is used in
'c' such as void main() main() int main() void
main(void) int main(void) //printf("Hello
World") This function displays the content
within double quotes as it is on the output
screen. //return 0 As mentioned above in the
program, the value 0 means successful execution
of main() function.
7
C - DATA TYPES
There are 4 types of data types in C programming
language
Data Types
Basic data types int, char, float, double
Enumeration data type enum
Derived data type pointer, array, structure, union
Void data type void
8
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com