#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
Getting Started

Identifiers in C: Types of Identifiers

What is an Identifier?

An identifier is the name given to entities such as variables, functions, arrays, and structures in a C program.

Rules for Naming Identifiers

  • Can contain letters, digits, and underscores only.
  • Must begin with a letter or an underscore, not a digit.
  • Cannot be a reserved keyword.
  • Case-sensitive — count and Count are different identifiers.
  • No spaces or special symbols allowed.

Types of Identifiers

  • Variable identifiers — names given to variables, e.g. age, total_marks.
  • Function identifiers — names given to functions, e.g. calculateSum().
  • Array identifiers — names given to arrays, e.g. marks[10].
  • Structure/Union identifiers — names given to user-defined types.
  • Label identifiers — names used with goto statements.
int age = 21;
float total_marks = 89.5;

Ready to master real-world C Programming development?

Learn C Programming hands-on with mentor-led, live sessions.

Explore Course