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

PPTX
C language ppt
PPT
Multiplication Powerpoint
PPT
Maths-Division.ppt
PPTX
Cyberspace
PPTX
Tree - Data Structure
PPTX
Regular Expressions in Java
PPT
Introduction to computer programming
PPTX
Ppt on data science
C language ppt
Multiplication Powerpoint
Maths-Division.ppt
Cyberspace
Tree - Data Structure
Regular Expressions in Java
Introduction to computer programming
Ppt on data science

What's hot (20)

PPT
Variables in C Programming
PPTX
Data types in C
PPTX
data types in C programming
PDF
Datatypes in python
PPTX
Functions in C
PPTX
Pointers in C Programming
PPT
Structure of a C program
PPTX
C tokens
PPT
constants, variables and datatypes in C
PPT
Basics of c++ Programming Language
PPT
Function overloading(c++)
PPTX
Pointer in c
PPTX
arrays of structures
PPTX
Tokens in C++
PPTX
Functions in c language
DOCX
Features of c language 1
PPTX
Data Type in C Programming
PPTX
Pointers in c++
PPTX
Array Of Pointers
Variables in C Programming
Data types in C
data types in C programming
Datatypes in python
Functions in C
Pointers in C Programming
Structure of a C program
C tokens
constants, variables and datatypes in C
Basics of c++ Programming Language
Function overloading(c++)
Pointer in c
arrays of structures
Tokens in C++
Functions in c language
Features of c language 1
Data Type in C Programming
Pointers in c++
Array Of Pointers
Ad

Viewers also liked (20)

PDF
The state of the environment seminar
PPTX
DMPTool Webinar 5: Promoting institutional services with the DMPTool; EZID as...
PPTX
Identify variable and measurement of scale
PPT
what is compiler and five phases of compiler
DOC
план виховної роботи на і семестр 2014 2015 вовченко о.м.
PPT
запрошуємо на каву!
PPT
запобігання дитячому травматизму від внп
PPT
ознаки отруєння газом
PPT
відповідаючи перед майбутнім
DOC
дорожні знаки
PPT
правила безпечного користування побутовими газовими
PPTX
Lead Generation System For LinkedIn
DOC
реквієм за убієнних голодом
PPT
уміти допомогти
PDF
20141211柏セミナー
PPTX
Ac1 ez
DOC
тема війни та миру
DOC
підсумкове заняття. протипожежна безпека
PDF
Work.Life.Leader Manifesto
PPT
Job analysis
The state of the environment seminar
DMPTool Webinar 5: Promoting institutional services with the DMPTool; EZID as...
Identify variable and measurement of scale
what is compiler and five phases of compiler
план виховної роботи на і семестр 2014 2015 вовченко о.м.
запрошуємо на каву!
запобігання дитячому травматизму від внп
ознаки отруєння газом
відповідаючи перед майбутнім
дорожні знаки
правила безпечного користування побутовими газовими
Lead Generation System For LinkedIn
реквієм за убієнних голодом
уміти допомогти
20141211柏セミナー
Ac1 ez
тема війни та миру
підсумкове заняття. протипожежна безпека
Work.Life.Leader Manifesto
Job analysis
Ad

Similar to What is identifier c programming (20)

PPTX
C keywords and identifiers
PPTX
PDF
L2 C# Programming Comments, Keywords, Identifiers, Variables.pdf
PDF
Tokens In C.pdf
PPTX
Module 1:Introduction
PPT
5 introduction-to-c
PPTX
Identifier in c
PPTX
C tokens
ODP
CProgrammingTutorial
PPTX
Programming Fundamentals
PPTX
Fundamentals of C Programming Language
PPT
Literals,variables,datatype in C#
PDF
PSPC--UNIT-2.pdf
PPTX
Fundamentals of c programming
PPTX
C Tokens.pptx,,,,,.............,.............36#&+88....7£+-(;-£+;(+"-:;3!("+...
PPT
C the basic concepts
PPTX
Complete Tokens in c/c++
PPTX
Programming construction tools
PPTX
C Program basic concepts using c knoweledge
PDF
Kernel Adiutor
C keywords and identifiers
L2 C# Programming Comments, Keywords, Identifiers, Variables.pdf
Tokens In C.pdf
Module 1:Introduction
5 introduction-to-c
Identifier in c
C tokens
CProgrammingTutorial
Programming Fundamentals
Fundamentals of C Programming Language
Literals,variables,datatype in C#
PSPC--UNIT-2.pdf
Fundamentals of c programming
C Tokens.pptx,,,,,.............,.............36#&+88....7£+-(;-£+;(+"-:;3!("+...
C the basic concepts
Complete Tokens in c/c++
Programming construction tools
C Program basic concepts using c knoweledge
Kernel Adiutor

More from Rumman Ansari (20)

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

Recently uploaded (20)

PDF
Digital Logic Computer Design lecture notes
PPTX
web development for engineering and engineering
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT
Project quality management in manufacturing
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Foundation to blockchain - A guide to Blockchain Tech
Digital Logic Computer Design lecture notes
web development for engineering and engineering
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
additive manufacturing of ss316l using mig welding
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
CH1 Production IntroductoryConcepts.pptx
Sustainable Sites - Green Building Construction
UNIT-1 - COAL BASED THERMAL POWER PLANTS
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
UNIT 4 Total Quality Management .pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Project quality management in manufacturing
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Automation-in-Manufacturing-Chapter-Introduction.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Foundation to blockchain - A guide to Blockchain Tech

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 . . .