Saturday 4 August 2012

Types of Identifiers



  • Types of Identifiers:-
                 There are two types of Identifiers in C. These are:
  1. Standard Identifier
  2. User defined Identifier

  • Standard Identifier:-
                          Like keywords, there are also predefined identifiers in C. The predefined identifiers of the C language that are used for special purposes in the source program are called the standard Identifier. Each identifier has special meanings in C. The names used for standard library functions are standard identifiers.
  • For Example:-
                  In C program, the scanf() and printf() functions are mostly used for input or output operations. Therefore, the functions names ''scanf'' or "printf" are examples of standard identifiers.
  • User Defined Identifiers:-
                         The user (or programmer) can define its own identifiers in the C program such as variables, user defined functions, labels etc. The Identifiers defined by the user in the program are called user defined IdentifiersC is a case sensitive language. 
  • For Example:-
                    The C compiler considers 'Area' and 'area' as two different identifiers.

8 comments:

  1. I really appreciate the kind of topics you post here. Thanks for sharing information that is actually helpful. Good day!
    skinny fiber

    ReplyDelete
  2. I concur with your conclusions and will eagerly look forward to your future updates. The usefulness and significance is overwhelming and has been invaluable to me!
    San Antonio House Buyer

    ReplyDelete
  3. Good post....thanks for sharing.. very useful for me i will bookmark this for my future needs. Thanks.
    creer emailing

    ReplyDelete
  4. learn ethical hacking It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks

    ReplyDelete
  5. C identifiers are case sensitive, which means 'value' and 'Value' will be treated as two different identifiers. keywords are the reserved words which are pre-defined in C language.

    ReplyDelete
  6. Please tell me keywords are standard identifier. True OR False

    ReplyDelete
  7. Visit Bharat Go Digital Academy to learn the digital marketing skills in India.

    ReplyDelete