🔥 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

Free 51 Websites for Learning Education and Courses

🛑 లక్à°·à°²ు à°–à°°్à°šుà°ªెà°Ÿ్à°Ÿి à°•ాà°²ేà°œీà°²్à°²ో à°¨ేà°°్à°šుà°•ోà°²ేà°¨ి à°µిà°·à°¯ాలను, à°«్à°°ీà°—ా à°¨ేà°°్à°ªింà°šే 51 à°…à°¦్à°­ుతమైà°¨ à°µెà°¬్‌à°¸ైà°Ÿ్à°²ు ఇవే! 🛑 à°Žà°¡్à°¯ుà°•ేà°·à°¨్ and à°•ోà°°్à°¸ుà°²ు: Co...