1 / 17

C language Course | Software Development Courses | PSK Technologies Nagpur

PSK Technologies Nagpur provides Training and Internship in Software Development Course C Language to know more about this course visit our website https://www.psktechnologies.co.in

Download Presentation

C language Course | Software Development Courses | PSK Technologies Nagpur

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. C (Programming Language) PSKTechnologies By: ArtiSontakke An ISO 9001:2015 (QMS) Certified IT Company Computer Education | Software Development | Computer Sales & Services Email: info@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 • Eg:1,5,67,346 etc. • Float constant • Eg:2.3,8.45,6.8 etc. • Character Constant • Eg: ’a’ , ’x’ , ‘g’ etc. • String Constant • Eg:”Hello” ,”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 NameDenoted By Format SpecifierSize 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 num=67 • float y=5.8 • Char ch=‘k’ Num=67 Y=5.8 Ch=‘k’ 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. # include<stdio.h> # (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(“%d%f%c”,&num,&x,&ch); https://www.psktechnologies.co.in/

  15. #include<conio.h> 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. https://www.psktechnologies.co.in/

  17. Thank You PSKTechnologies Follow us on https://www.psktechnologies.co.in/

More Related