Steps of Learning Programming Language. and much more with and easy way. Like ---
History of C language, What is C, Step by step procedure to learn C language with interview questions.
C, C language ppt, Learn C, Basic C, What is C?, How to learn C, language, programming language ppt, OOPs, POOPs, Learn C ppt, C ppt, C Program, first program, Variable in C, Keyword in C, constant in C ?
Double Revolving field theory-how the rotor develops torque
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
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