SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
What is
Identifier
What is Identifiers
A C identifier refers to name used to identify a variable, function, structures or any
other user-defined item or entity.
Identifier must be unique. They are created to give unique name to a
entity/item/variable name to identify it during the execution of the program
identifier names must be different from keywords. Because Keywords are
predefined, reserved words used in programming .As for Example :You cannot
use double as an identifier because double is a keyword.
Identifiers Example
int roll_no;
double percentge_marks;
float average;
Here, roll_no , percentge_marks , average are identifiers.
Here are some another examples of acceptable identifiers
zakir Ram abc movie_name ab_123
myname50 _temp p a666b9 sum avg multi
Rules for writing an identifier
 The first letter of an identifier should be either a letter or an underscore.
 A valid identifier can have letters (both uppercase and lowercase letters), digits
and underscores.
 There is no rule on length of an identifier. However, the first 31 characters of
identifiers are significant by the compiler.
 Must not contain white space
 Can not use Keyword as a identifier
identifiers in Programming
#include<stdio.h>
int main () {
/* variable definition: */
int variable_1, variable_2;
int variable_3;
variable_1=6;
variable_2=6;
variable_3 = variable_1 + variable_2;
printf("value of c : %d n", variable_3 );
return 0;
}
In this Example identifiers are:
variable_1
variable_2
variable_3
OutPut
value of c : 12
Press any key to continue . . .
Thank You

More Related Content

What's hot (20)

PPT
Variables in C Programming
programming9
 
PPTX
Loops in C Programming Language
Mahantesh Devoor
 
PPTX
Presentation on C programming language
Ashmita Tuition Center
 
PPTX
Two dimensional arrays
Neeru Mittal
 
PPT
Operators in C Programming
programming9
 
PPT
Constants in C Programming
programming9
 
PPT
Structure of a C program
David Livingston J
 
PPTX
C Tokens
Ripon Hossain
 
PPTX
Data Types and Variables In C Programming
Kamal Acharya
 
PPTX
Type casting in c programming
Rumman Ansari
 
PPSX
INTRODUCTION TO C PROGRAMMING
Abhishek Dwivedi
 
PPT
Introduction to data structures and Algorithm
Dhaval Kaneria
 
PPTX
Strings in C
Kamal Acharya
 
PDF
Modular Programming in C
bhawna kol
 
PPTX
Object Oriented Programming Using C++
Muhammad Waqas
 
PPTX
Pointer in c
lavanya marichamy
 
DOC
Notes of c programming 1st unit BCA I SEM
Mansi Tyagi
 
PPT
project on snake game in c language
Ashutosh Kumar
 
PPT
Multidimensional array in C
Smit Parikh
 
PPTX
Structure in C
Kamal Acharya
 
Variables in C Programming
programming9
 
Loops in C Programming Language
Mahantesh Devoor
 
Presentation on C programming language
Ashmita Tuition Center
 
Two dimensional arrays
Neeru Mittal
 
Operators in C Programming
programming9
 
Constants in C Programming
programming9
 
Structure of a C program
David Livingston J
 
C Tokens
Ripon Hossain
 
Data Types and Variables In C Programming
Kamal Acharya
 
Type casting in c programming
Rumman Ansari
 
INTRODUCTION TO C PROGRAMMING
Abhishek Dwivedi
 
Introduction to data structures and Algorithm
Dhaval Kaneria
 
Strings in C
Kamal Acharya
 
Modular Programming in C
bhawna kol
 
Object Oriented Programming Using C++
Muhammad Waqas
 
Pointer in c
lavanya marichamy
 
Notes of c programming 1st unit BCA I SEM
Mansi Tyagi
 
project on snake game in c language
Ashutosh Kumar
 
Multidimensional array in C
Smit Parikh
 
Structure in C
Kamal Acharya
 

Viewers also liked (20)

PDF
The state of the environment seminar
Blake Morgan
 
PPTX
DMPTool Webinar 5: Promoting institutional services with the DMPTool; EZID as...
University of California Curation Center
 
PPTX
Identify variable and measurement of scale
Janisha Gandhi
 
PPT
what is compiler and five phases of compiler
adilmehmood93
 
DOC
план виховної роботи на і семестр 2014 2015 вовченко о.м.
Poltava municipal lyceum #1
 
PPT
запрошуємо на каву!
Poltava municipal lyceum #1
 
PPT
запобігання дитячому травматизму від внп
Poltava municipal lyceum #1
 
PPT
ознаки отруєння газом
Poltava municipal lyceum #1
 
PPT
відповідаючи перед майбутнім
Poltava municipal lyceum #1
 
DOC
дорожні знаки
Poltava municipal lyceum #1
 
PPT
правила безпечного користування побутовими газовими
Poltava municipal lyceum #1
 
PPTX
Lead Generation System For LinkedIn
Kevin Poultard
 
DOC
реквієм за убієнних голодом
Poltava municipal lyceum #1
 
PPT
уміти допомогти
Poltava municipal lyceum #1
 
PDF
20141211柏セミナー
astanabe
 
PPTX
Ac1 ez
nike66
 
DOC
тема війни та миру
Poltava municipal lyceum #1
 
DOC
підсумкове заняття. протипожежна безпека
Poltava municipal lyceum #1
 
PDF
Work.Life.Leader Manifesto
Julie Cohen
 
PPT
Job analysis
Ajmal khan
 
The state of the environment seminar
Blake Morgan
 
DMPTool Webinar 5: Promoting institutional services with the DMPTool; EZID as...
University of California Curation Center
 
Identify variable and measurement of scale
Janisha Gandhi
 
what is compiler and five phases of compiler
adilmehmood93
 
план виховної роботи на і семестр 2014 2015 вовченко о.м.
Poltava municipal lyceum #1
 
запрошуємо на каву!
Poltava municipal lyceum #1
 
запобігання дитячому травматизму від внп
Poltava municipal lyceum #1
 
ознаки отруєння газом
Poltava municipal lyceum #1
 
відповідаючи перед майбутнім
Poltava municipal lyceum #1
 
дорожні знаки
Poltava municipal lyceum #1
 
правила безпечного користування побутовими газовими
Poltava municipal lyceum #1
 
Lead Generation System For LinkedIn
Kevin Poultard
 
реквієм за убієнних голодом
Poltava municipal lyceum #1
 
уміти допомогти
Poltava municipal lyceum #1
 
20141211柏セミナー
astanabe
 
Ac1 ez
nike66
 
тема війни та миру
Poltava municipal lyceum #1
 
підсумкове заняття. протипожежна безпека
Poltava municipal lyceum #1
 
Work.Life.Leader Manifesto
Julie Cohen
 
Job analysis
Ajmal khan
 
Ad

Similar to What is identifier c programming (20)

PPTX
Identifier in c
ankush9927
 
PDF
MCA 101-Programming in C with Data Structure UNIT I by Prof. Rohit Dubey
kiranrajat
 
PPTX
C Language presentation
Rupanshi rawat
 
DOCX
Module 1 PCD.docx
VijayKumar886687
 
PPTX
Module 1:Introduction
nikshaikh786
 
PDF
Difference between Keyword and Identifier.pdf
SahilBacklinks
 
PPTX
C tokens
Megha Sharma
 
PPTX
component of c language.pptx
AnisZahirahAzman
 
PPTX
C –imp points
Taruni Kancharla
 
PPTX
C PROGRAMING.pptx
MohammedtajuddinTaju
 
PPTX
Presentation on 21.11.2022.pptx
Priyajit Sen
 
PPT
Chap 1 and 2
Selva Arrunaa Mathavan
 
PPT
5 introduction-to-c
Rohit Shrivastava
 
ODP
CProgrammingTutorial
Muthuselvam RS
 
PDF
C intro
SHIKHA GAUTAM
 
PPTX
C++
k v
 
PPT
Welcome to lecture 4 in c programming
umair ansari
 
PDF
The New Yorker cartoon premium membership of the
shubhamgupta7133
 
PPTX
C language
Rupanshi rawat
 
PDF
EC2311-Data Structures and C Programming
Padma Priya
 
Identifier in c
ankush9927
 
MCA 101-Programming in C with Data Structure UNIT I by Prof. Rohit Dubey
kiranrajat
 
C Language presentation
Rupanshi rawat
 
Module 1 PCD.docx
VijayKumar886687
 
Module 1:Introduction
nikshaikh786
 
Difference between Keyword and Identifier.pdf
SahilBacklinks
 
C tokens
Megha Sharma
 
component of c language.pptx
AnisZahirahAzman
 
C –imp points
Taruni Kancharla
 
C PROGRAMING.pptx
MohammedtajuddinTaju
 
Presentation on 21.11.2022.pptx
Priyajit Sen
 
5 introduction-to-c
Rohit Shrivastava
 
CProgrammingTutorial
Muthuselvam RS
 
C intro
SHIKHA GAUTAM
 
C++
k v
 
Welcome to lecture 4 in c programming
umair ansari
 
The New Yorker cartoon premium membership of the
shubhamgupta7133
 
C language
Rupanshi rawat
 
EC2311-Data Structures and C Programming
Padma Priya
 
Ad

More from Rumman Ansari (20)

PDF
Sql tutorial
Rumman Ansari
 
PDF
C programming exercises and solutions
Rumman Ansari
 
PDF
Java Tutorial best website
Rumman Ansari
 
DOCX
Java Questions and Answers
Rumman Ansari
 
DOCX
servlet programming
Rumman Ansari
 
PPTX
C program to write c program without using main function
Rumman Ansari
 
PPTX
Steps for c program execution
Rumman Ansari
 
PPTX
Pointer in c program
Rumman Ansari
 
PPTX
My first program in c, hello world !
Rumman Ansari
 
PPTX
How c program execute in c program
Rumman Ansari
 
PPTX
What is token c programming
Rumman Ansari
 
PPTX
What is keyword in c programming
Rumman Ansari
 
PPTX
C Programming Language Part 11
Rumman Ansari
 
PPTX
C Programming Language Part 9
Rumman Ansari
 
PPTX
C Programming Language Part 8
Rumman Ansari
 
PPTX
C Programming Language Part 7
Rumman Ansari
 
PPTX
C Programming Language Part 6
Rumman Ansari
 
PPTX
C Programming Language Part 5
Rumman Ansari
 
PPTX
C Programming Language Part 4
Rumman Ansari
 
PPTX
C Programming Language Step by Step Part 5
Rumman Ansari
 
Sql tutorial
Rumman Ansari
 
C programming exercises and solutions
Rumman Ansari
 
Java Tutorial best website
Rumman Ansari
 
Java Questions and Answers
Rumman Ansari
 
servlet programming
Rumman Ansari
 
C program to write c program without using main function
Rumman Ansari
 
Steps for c program execution
Rumman Ansari
 
Pointer in c program
Rumman Ansari
 
My first program in c, hello world !
Rumman Ansari
 
How c program execute in c program
Rumman Ansari
 
What is token c programming
Rumman Ansari
 
What is keyword in c programming
Rumman Ansari
 
C Programming Language Part 11
Rumman Ansari
 
C Programming Language Part 9
Rumman Ansari
 
C Programming Language Part 8
Rumman Ansari
 
C Programming Language Part 7
Rumman Ansari
 
C Programming Language Part 6
Rumman Ansari
 
C Programming Language Part 5
Rumman Ansari
 
C Programming Language Part 4
Rumman Ansari
 
C Programming Language Step by Step Part 5
Rumman Ansari
 

Recently uploaded (20)

PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PPTX
Big Data and Data Science hype .pptx
SUNEEL37
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPT
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PDF
smart lot access control system with eye
rasabzahra
 
PPTX
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Big Data and Data Science hype .pptx
SUNEEL37
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Electrical Safety Presentation for Basics Learning
AliJaved79382
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Introduction to Basic Renewable Energy.pptx
examcoordinatormesu
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
Thermal runway and thermal stability.pptx
godow93766
 
smart lot access control system with eye
rasabzahra
 
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 

What is identifier c programming

  • 2. What is Identifiers A C identifier refers to name used to identify a variable, function, structures or any other user-defined item or entity. Identifier must be unique. They are created to give unique name to a entity/item/variable name to identify it during the execution of the program identifier names must be different from keywords. Because Keywords are predefined, reserved words used in programming .As for Example :You cannot use double as an identifier because double is a keyword.
  • 3. Identifiers Example int roll_no; double percentge_marks; float average; Here, roll_no , percentge_marks , average are identifiers. Here are some another examples of acceptable identifiers zakir Ram abc movie_name ab_123 myname50 _temp p a666b9 sum avg multi
  • 4. Rules for writing an identifier  The first letter of an identifier should be either a letter or an underscore.  A valid identifier can have letters (both uppercase and lowercase letters), digits and underscores.  There is no rule on length of an identifier. However, the first 31 characters of identifiers are significant by the compiler.  Must not contain white space  Can not use Keyword as a identifier
  • 5. identifiers in Programming #include<stdio.h> int main () { /* variable definition: */ int variable_1, variable_2; int variable_3; variable_1=6; variable_2=6; variable_3 = variable_1 + variable_2; printf("value of c : %d n", variable_3 ); return 0; } In this Example identifiers are: variable_1 variable_2 variable_3 OutPut value of c : 12 Press any key to continue . . .