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 643897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:19:58+00:00 2026-05-13T21:19:58+00:00

Where can I find what is the maximum identifier length in C? In which

  • 0

Where can I find what is the maximum identifier length in C?

In which header file is that limit specified?

  • 1 1 Answer
  • 7 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-05-13T21:19:58+00:00Added an answer on May 13, 2026 at 9:19 pm

    There is no header file to contain the identifier length limit; even if there were, how could it help you? You can’t change your identifier lengths at compile time based on a value in a header file anyway.

    The C standard, section 5.2.4.1 says:

    • 63 significant initial characters in an internal identifier or a macro name (each universal character name or extended source character is considered a single character)
    • 31 significant initial characters in an external identifier (each universal character name specifying a short identifier of 0000FFFF or less is considered 6 characters, each universal character name specifying a short identifier of 00010000 or more is considered 10 characters, and each extended source character is considered the same number of characters as the corresponding universal character name, if any)

    It also contains a footnote:

    Implementations should avoid imposing fixed translation limits whenever possible.

    So you should check your documentation to see if your compiler supports a greater number of significant characters in identifiers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does the LDAP protocol specify a maximum length that a DN can take? I've
What is the maximum memory one application can use? Please find instrument screenshot with
I can find ample evidence that MongoDBs are always kept in the order given
How can I find the maximum element and its index from an array in
How can I find the high water mark (the historical maximum number of concurrent
I would like to find the index/indices that hold the maximum value in an
I have made a matrix using vector and iterator, how can I find maximum
Is there a place (website) where i can find information on which VM is
I am making a program which finds the maximum-length subarray whose sum is closest
Where can I find documentation on the maximum number of threads allowed in an

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.