Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8883877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:55:31+00:00 2026-06-14T20:55:31+00:00

From C99 Standard: 6.2.1/2 For each different entity that an identifier designates, the identifier

  • 0

From C99 Standard:

6.2.1/2

For each different entity that an identifier designates, the
identifier is visible (i.e., can be used) only within a region of
program text called its scope. Different entities designated by the
same identifier either have different scopes, or are in different name
spaces.

I have a confusion with entity and identifier (which I know can be the name of an object). What exactly is an entity according to this quote with example?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T20:55:32+00:00Added an answer on June 14, 2026 at 8:55 pm

    Entities are variables, functions, types, etc. Identifiers are names of those entities. For example:

    #include <stdlib.h>
    #include <stdio.h>
    
    static int foo()
    {
        static int x = 0; // "x" is an identifier, the variable "x" inside
                          // this function "foo()" is an entity.
        return x++;
    }
    
    int main()
    {
        int x = 1; // "x" is an identifier as well, and it is the same name "x"
                       // as of that used inside "foo()". However, this entity
                       // (variable) is not the same as in "foo()", it has different
                   // scope and is a totally different entity.
        printf("foo()+x++ = %d\n", foo()+x++);
        printf("foo()+x++ = %d\n", foo()+x++);
        printf("foo()+x++ = %d\n", foo()+x++);
        return EXIT_SUCCESS;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From section (6.2.2/7) C99 Standard 7. If, within a translation unit, the same identifier
I was just skimming the C99 standard, looking for something that I don't remember
The C standard guarantees that size_t is a type that can hold any array
To my amazement I just discovered that the C99 stdint.h is missing from MS
I've got some perfectly lovely C99 codes that are compiled from multiple .c files,
From (6.2.3/1) C99 Standard -- the tags of structures, unions, and enumerations (disambiguated by
From this context: import itertools lines = itertools.cycle(open('filename')) I'm wondering how I can implement
From 2.13.2/3 The double quote and the question mark ? , can be represented
From time to time I run into the issue that Grails integration tests the
In the C99 standard, the expressions allow for precedence and associativity. Precedence is documented

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.