SlideShare a Scribd company logo
PRESENTED BY : ROHIT RAJ SINGH
6/24/2019 1SMS Institute of Technology, LUCKNOW
 Introduction of C ?
 Function used in C ?
 How to learn C language ?
 Which Special Symbol used in C ?
 Some necessary requirement for the
implementation of C program ?
 Instruction in C ?
 How to make a Program in C ?
 Interview FAQs ?
6/24/2019 2SMS Institute of Technology, LUCKNOW
 C is a programming language developed at
AT & T’s Bell Laboratories of USA in 1972.
 This language is designed and written by
Dennis Ritchie.
 In those days C has became a popular
language because It is reliable, simple, easy
to use.
6/24/2019 3SMS Institute of Technology, LUCKNOW
A function is a group of statements that together
perform a task. Every C program has at least one
function, which is main()
The basic function used in C are :-
 main()
 printf()
 scanf()
 strcat()
 memcpy()
6/24/2019 4SMS Institute of Technology, LUCKNOW
 The following block diagram show the steps
of learning C language :-
•Alphabets
•Numbers
•Special symbol
•Variables
•Keywords
•Constants
•Instructions
•Program
6/24/2019 5SMS Institute of Technology, LUCKNOW
 A character denotes any alphabet, digit or
special symbol used to represent
information.
• A, B, C,…………….Y, Z
• a, b,…………………y, zAlphabets
• 0,1,2,3,4,5,6,7,8,9Numbers
• , + - * / = ()
{} [] <>  ? ”
‘ : | _ & $ %
@ ~ # ^ ` ! ;
Special
symbol 6/24/2019 6SMS Institute of Technology, LUCKNOW
 Variables, constant and Keyword is some
necessary requirement for the successful
implimentation of C program.
 Let us now understand the meaning of each
of them.
 A variable is an entity that may change
where as, constant is an entity that does not
change. A keyword is a word that carries
special meaning.
6/24/2019 7SMS Institute of Technology, LUCKNOW
 A variable name is any combination of 1 to 31
alphabets, digits or underscores. You can
take variable name till the 31 character.
 The first character in the variable name must
be an alphabet or underscore.
 No commas or blanks and special symbol are
allowed within a variable name.
6/24/2019 8SMS Institute of Technology, LUCKNOW
 There are three types of instruction in C :-
1. Type Declaration Instruction
2. Arithmetic Instruction
3. Control Instruction
6/24/2019 9SMS Institute of Technology, LUCKNOW
 Type Declaration Instruction :
This instruction is used to declare
which type of variables used in C program.
 Arithmetic Instruction:
This instruction is used to perform
arithmetic operations on constant and
variables.
 Control Instruction :
This instruction is used to control the
sequence of execution of various
statements in a C program.
6/24/2019 10SMS Institute of Technology, LUCKNOW
#include<stdio.h>
int main(void)
{
printf(“hello, worldn”);
Printf(“Have a nice day.”);
return 0;
}
6/24/2019 11SMS Institute of Technology, LUCKNOW
Q/1.
Which of the following statement is a
declaration and which is a definition?
extern int i;
int j;
ANS.
First is declaration, second is definition.
6/24/2019 12SMS Institute of Technology, LUCKNOW
Q/2.
Input/output function prototypes and
macros are defined in which header file?
ANS.
stdio.h
Q/3.
What are stdin, stdout, stderr?
ANS.
Standard input, standard output, standard
error streams.
6/24/2019 13SMS Institute of Technology, LUCKNOW
Q/4.
What is the difference in the following
declarations?
const char *s;
char const *s;
ANS.
There is no difference.
Q/5.
Is it true that a function may have several
declarations, but only one definition?
ANS.
YES
6/24/2019 14SMS Institute of Technology, LUCKNOW
6/24/2019 15SMS Institute of Technology, LUCKNOW

More Related Content

What's hot

History of c
History of cHistory of c
History of c
Shipat Bhuiya
 
C basics
C   basicsC   basics
Programming in C Presentation upto FILE
Programming in C Presentation upto FILEProgramming in C Presentation upto FILE
Programming in C Presentation upto FILE
Dipta Saha
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
ABHISHEK fulwadhwa
 
C programming - String
C programming - StringC programming - String
C programming - String
Achyut Devkota
 
Data Type in C Programming
Data Type in C ProgrammingData Type in C Programming
Data Type in C Programming
Qazi Shahzad Ali
 
Functions in c language
Functions in c language Functions in c language
Functions in c language
tanmaymodi4
 
Loops in c
Loops in cLoops in c
C introduction by thooyavan
C introduction by  thooyavanC introduction by  thooyavan
C introduction by thooyavan
Thooyavan Venkatachalam
 
String functions in C
String functions in CString functions in C
History of c++
History of c++ History of c++
History of c++
Ihsan Wassan
 
What is keyword in c programming
What is keyword in c programmingWhat is keyword in c programming
What is keyword in c programming
Rumman Ansari
 
Introduction to c++ ppt
Introduction to c++ pptIntroduction to c++ ppt
Introduction to c++ ppt
Prof. Dr. K. Adisesha
 
Unit4
Unit4Unit4
History of C Programming Language
History of C Programming LanguageHistory of C Programming Language
History of C Programming Language
Niloy Biswas
 
Control statements in c
Control statements in cControl statements in c
Control statements in c
Sathish Narayanan
 
C Programming Language
C Programming LanguageC Programming Language
C Programming Language
Gitanshu Gitanshu
 
Telephone directory in c
Telephone directory in cTelephone directory in c
Telephone directory in c
Upendra Sengar
 
Character set of c
Character set of cCharacter set of c
Character set of c
Chandrapriya Rediex
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
Kamal Acharya
 

What's hot (20)

History of c
History of cHistory of c
History of c
 
C basics
C   basicsC   basics
C basics
 
Programming in C Presentation upto FILE
Programming in C Presentation upto FILEProgramming in C Presentation upto FILE
Programming in C Presentation upto FILE
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
C programming - String
C programming - StringC programming - String
C programming - String
 
Data Type in C Programming
Data Type in C ProgrammingData Type in C Programming
Data Type in C Programming
 
Functions in c language
Functions in c language Functions in c language
Functions in c language
 
Loops in c
Loops in cLoops in c
Loops in c
 
C introduction by thooyavan
C introduction by  thooyavanC introduction by  thooyavan
C introduction by thooyavan
 
String functions in C
String functions in CString functions in C
String functions in C
 
History of c++
History of c++ History of c++
History of c++
 
What is keyword in c programming
What is keyword in c programmingWhat is keyword in c programming
What is keyword in c programming
 
Introduction to c++ ppt
Introduction to c++ pptIntroduction to c++ ppt
Introduction to c++ ppt
 
Unit4
Unit4Unit4
Unit4
 
History of C Programming Language
History of C Programming LanguageHistory of C Programming Language
History of C Programming Language
 
Control statements in c
Control statements in cControl statements in c
Control statements in c
 
C Programming Language
C Programming LanguageC Programming Language
C Programming Language
 
Telephone directory in c
Telephone directory in cTelephone directory in c
Telephone directory in c
 
Character set of c
Character set of cCharacter set of c
Character set of c
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 

Similar to C language

Unit 1.1 - Introduction to C.pptx
Unit 1.1 - Introduction to C.pptxUnit 1.1 - Introduction to C.pptx
Unit 1.1 - Introduction to C.pptx
NandhaGopal Subramani
 
C LANGUAGE NOTES
C LANGUAGE NOTESC LANGUAGE NOTES
C language
C language C language
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction
GopikaS12
 
IP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG ProgrammeIP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG Programme
SAFAD ISMAIL
 
Vivek Joshi C programming ppt.pptx for c
Vivek Joshi C programming ppt.pptx for cVivek Joshi C programming ppt.pptx for c
Vivek Joshi C programming ppt.pptx for c
vb6274037
 
Lecture 1 progrmming with C
Lecture 1 progrmming with C Lecture 1 progrmming with C
Lecture 1 progrmming with C
Army Public School and College -Faisal
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
Malikireddy Bramhananda Reddy
 
COCOMO model
COCOMO modelCOCOMO model
COCOMO model
hajra azam
 
UNIT 1 NOTES.docx
UNIT 1 NOTES.docxUNIT 1 NOTES.docx
UNIT 1 NOTES.docx
Revathiparamanathan
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
Malikireddy Bramhananda Reddy
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
Mansi Tyagi
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
BAKRANIYA KALPESH
 
Compiler design-lab-manual v-cse
Compiler design-lab-manual v-cseCompiler design-lab-manual v-cse
Compiler design-lab-manual v-cse
ravisharma159932
 
vtu data structures lab manual bcs304 pdf
vtu data structures lab manual bcs304 pdfvtu data structures lab manual bcs304 pdf
vtu data structures lab manual bcs304 pdf
LPSChandana
 
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdfTCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
AbhishekMGowda4
 
C programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ CollegeC programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ College
MUNNAKUMAR89
 
C program
C programC program
C program
Shaik JaniBasha
 
Computer programming all chapters
Computer programming all chaptersComputer programming all chapters
Computer programming all chapters
Ibrahim Elewah
 
C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)
aaravSingh41
 

Similar to C language (20)

Unit 1.1 - Introduction to C.pptx
Unit 1.1 - Introduction to C.pptxUnit 1.1 - Introduction to C.pptx
Unit 1.1 - Introduction to C.pptx
 
C LANGUAGE NOTES
C LANGUAGE NOTESC LANGUAGE NOTES
C LANGUAGE NOTES
 
C language
C language C language
C language
 
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction
 
IP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG ProgrammeIP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG Programme
 
Vivek Joshi C programming ppt.pptx for c
Vivek Joshi C programming ppt.pptx for cVivek Joshi C programming ppt.pptx for c
Vivek Joshi C programming ppt.pptx for c
 
Lecture 1 progrmming with C
Lecture 1 progrmming with C Lecture 1 progrmming with C
Lecture 1 progrmming with C
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
 
COCOMO model
COCOMO modelCOCOMO model
COCOMO model
 
UNIT 1 NOTES.docx
UNIT 1 NOTES.docxUNIT 1 NOTES.docx
UNIT 1 NOTES.docx
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
Compiler design-lab-manual v-cse
Compiler design-lab-manual v-cseCompiler design-lab-manual v-cse
Compiler design-lab-manual v-cse
 
vtu data structures lab manual bcs304 pdf
vtu data structures lab manual bcs304 pdfvtu data structures lab manual bcs304 pdf
vtu data structures lab manual bcs304 pdf
 
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdfTCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
 
C programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ CollegeC programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ College
 
C program
C programC program
C program
 
Computer programming all chapters
Computer programming all chaptersComputer programming all chapters
Computer programming all chapters
 
C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)
 

More from Rohit Singh

Rohit RajSingh_ApplicationForm.pdf
Rohit RajSingh_ApplicationForm.pdfRohit RajSingh_ApplicationForm.pdf
Rohit RajSingh_ApplicationForm.pdf
Rohit Singh
 
date2.docx
date2.docxdate2.docx
date2.docx
Rohit Singh
 
Data entry exclusive+
Data entry exclusive+ Data entry exclusive+
Data entry exclusive+
Rohit Singh
 
Assignment 1
Assignment 1Assignment 1
Assignment 1
Rohit Singh
 
Custom pagination
Custom paginationCustom pagination
Custom pagination
Rohit Singh
 
Sql exception and class notfoundexception
Sql exception and class notfoundexceptionSql exception and class notfoundexception
Sql exception and class notfoundexception
Rohit Singh
 
Angular Part 3 (Basic knowledge)
Angular Part 3 (Basic knowledge)Angular Part 3 (Basic knowledge)
Angular Part 3 (Basic knowledge)
Rohit Singh
 
Project ppt, Learn Project Java
Project ppt, Learn Project JavaProject ppt, Learn Project Java
Project ppt, Learn Project Java
Rohit Singh
 
5g networking technology
5g networking technology5g networking technology
5g networking technology
Rohit Singh
 
Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)
Rohit Singh
 
First program of C ( Complete Explanation )
First program of C ( Complete Explanation )First program of C ( Complete Explanation )
First program of C ( Complete Explanation )
Rohit Singh
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
Rohit Singh
 
Html Basic
Html Basic Html Basic
Html Basic
Rohit Singh
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
Rohit Singh
 
Core java interview questions
Core java interview questionsCore java interview questions
Core java interview questions
Rohit Singh
 

More from Rohit Singh (15)

Rohit RajSingh_ApplicationForm.pdf
Rohit RajSingh_ApplicationForm.pdfRohit RajSingh_ApplicationForm.pdf
Rohit RajSingh_ApplicationForm.pdf
 
date2.docx
date2.docxdate2.docx
date2.docx
 
Data entry exclusive+
Data entry exclusive+ Data entry exclusive+
Data entry exclusive+
 
Assignment 1
Assignment 1Assignment 1
Assignment 1
 
Custom pagination
Custom paginationCustom pagination
Custom pagination
 
Sql exception and class notfoundexception
Sql exception and class notfoundexceptionSql exception and class notfoundexception
Sql exception and class notfoundexception
 
Angular Part 3 (Basic knowledge)
Angular Part 3 (Basic knowledge)Angular Part 3 (Basic knowledge)
Angular Part 3 (Basic knowledge)
 
Project ppt, Learn Project Java
Project ppt, Learn Project JavaProject ppt, Learn Project Java
Project ppt, Learn Project Java
 
5g networking technology
5g networking technology5g networking technology
5g networking technology
 
Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)
 
First program of C ( Complete Explanation )
First program of C ( Complete Explanation )First program of C ( Complete Explanation )
First program of C ( Complete Explanation )
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
 
Html Basic
Html Basic Html Basic
Html Basic
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Core java interview questions
Core java interview questionsCore java interview questions
Core java interview questions
 

Recently uploaded

KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
PuktoonEngr
 

Recently uploaded (20)

KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt2. Operations Strategy in a Global Environment.ppt
2. Operations Strategy in a Global Environment.ppt
 

C language

  • 1. PRESENTED BY : ROHIT RAJ SINGH 6/24/2019 1SMS Institute of Technology, LUCKNOW
  • 2.  Introduction of C ?  Function used in C ?  How to learn C language ?  Which Special Symbol used in C ?  Some necessary requirement for the implementation of C program ?  Instruction in C ?  How to make a Program in C ?  Interview FAQs ? 6/24/2019 2SMS Institute of Technology, LUCKNOW
  • 3.  C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972.  This language is designed and written by Dennis Ritchie.  In those days C has became a popular language because It is reliable, simple, easy to use. 6/24/2019 3SMS Institute of Technology, LUCKNOW
  • 4. A function is a group of statements that together perform a task. Every C program has at least one function, which is main() The basic function used in C are :-  main()  printf()  scanf()  strcat()  memcpy() 6/24/2019 4SMS Institute of Technology, LUCKNOW
  • 5.  The following block diagram show the steps of learning C language :- •Alphabets •Numbers •Special symbol •Variables •Keywords •Constants •Instructions •Program 6/24/2019 5SMS Institute of Technology, LUCKNOW
  • 6.  A character denotes any alphabet, digit or special symbol used to represent information. • A, B, C,…………….Y, Z • a, b,…………………y, zAlphabets • 0,1,2,3,4,5,6,7,8,9Numbers • , + - * / = () {} [] <> ? ” ‘ : | _ & $ % @ ~ # ^ ` ! ; Special symbol 6/24/2019 6SMS Institute of Technology, LUCKNOW
  • 7.  Variables, constant and Keyword is some necessary requirement for the successful implimentation of C program.  Let us now understand the meaning of each of them.  A variable is an entity that may change where as, constant is an entity that does not change. A keyword is a word that carries special meaning. 6/24/2019 7SMS Institute of Technology, LUCKNOW
  • 8.  A variable name is any combination of 1 to 31 alphabets, digits or underscores. You can take variable name till the 31 character.  The first character in the variable name must be an alphabet or underscore.  No commas or blanks and special symbol are allowed within a variable name. 6/24/2019 8SMS Institute of Technology, LUCKNOW
  • 9.  There are three types of instruction in C :- 1. Type Declaration Instruction 2. Arithmetic Instruction 3. Control Instruction 6/24/2019 9SMS Institute of Technology, LUCKNOW
  • 10.  Type Declaration Instruction : This instruction is used to declare which type of variables used in C program.  Arithmetic Instruction: This instruction is used to perform arithmetic operations on constant and variables.  Control Instruction : This instruction is used to control the sequence of execution of various statements in a C program. 6/24/2019 10SMS Institute of Technology, LUCKNOW
  • 11. #include<stdio.h> int main(void) { printf(“hello, worldn”); Printf(“Have a nice day.”); return 0; } 6/24/2019 11SMS Institute of Technology, LUCKNOW
  • 12. Q/1. Which of the following statement is a declaration and which is a definition? extern int i; int j; ANS. First is declaration, second is definition. 6/24/2019 12SMS Institute of Technology, LUCKNOW
  • 13. Q/2. Input/output function prototypes and macros are defined in which header file? ANS. stdio.h Q/3. What are stdin, stdout, stderr? ANS. Standard input, standard output, standard error streams. 6/24/2019 13SMS Institute of Technology, LUCKNOW
  • 14. Q/4. What is the difference in the following declarations? const char *s; char const *s; ANS. There is no difference. Q/5. Is it true that a function may have several declarations, but only one definition? ANS. YES 6/24/2019 14SMS Institute of Technology, LUCKNOW
  • 15. 6/24/2019 15SMS Institute of Technology, LUCKNOW