πŸ”₯ Welcome to my blog! Latest updates available now. Visit daily! πŸ”₯ πŸ”₯ Click Here for Latest Updates – Visit My Blog πŸ”₯
πŸ”₯ Latest Updates πŸ“Š GP Grade Finder πŸ“’ Government Services Info πŸ†• New Schemes Updates

Identifiers In C Programming

πŸ‘‰ In C programming, identifiers are the names assigned to different entities such as variables, functions, arrays, etc.

πŸ‘‰A programmer has to follow certain rules while naming variables, functions, arrays, etc

πŸ‘‰C language is case-sensitive so, ‘name’ and ‘NAME’ are different identifiers.

πŸ‘‰The first character of an identifier must NOT be a number and may not contain a space.

πŸ‘‰An identifier can include letters (a-z or A-Z), and digits (0-9).

πŸ‘‰An identifier can only begin with an underscore or letters.

πŸ‘‰We cannot name identifiers the same as keywords because they are reserved words to perform a specific task.

 πŸ‘‰If we use a keyword's name as an identifier the compiler will throw an error.

For example:

πŸ‘‰printf, scanf, int, char, struct, etc  InValid Identifiers

πŸ‘‰emp_name,emp_sal  ,stu_name,stu_no Valid Identifiers

No comments:

Post a Comment

Thank you Very Much.For Given Comment

Quatation of the Day 22-03-2026