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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:32:51+00:00 2026-05-20T21:32:51+00:00

form ISO Standard Draft n3234 says: Two names are the same if — they

  • 0

form ISO Standard Draft

n3234 says:

Two names are the same if
— they are identifier s composed of the same character sequence, or

According to this meaning..Check whether this is correct or not

class ABC{};
class abc{};
int ABC(){}
int abc(){}
int main(){
           int abc;
           char ABC;
         }

is this program is correct according to the above statement?

is this program is APT to this statement?(what that statement meaning represents)

Finally ..explain any other thing ..is i left?

  • 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-05-20T21:32:52+00:00Added an answer on May 20, 2026 at 9:32 pm

    From ISO/IEC 14882:2003(E) 9.1.2 –

    A class definition introduces the class name into the scope where it is defined and hides any class, object, function, or other declaration of that name in an enclosing scope (3.3). If a class name is declared in a scope where an object, function, or enumerator of the same name is also declared, then when both declara- tions are in scope, the class can be referred to only using an elaborated-type-specifier (3.4.4).

    [Example:

    struct stat { 
       // ...
    };
    
    stat gstat;    // use plain stat to 
                   // define variable
    
    int stat(struct stat*);   // redeclare stat as function
    
    void f() {
        struct stat* ps; stat(ps);   // struct prefix needed 
                                     // to name struct stat 
                                     // ...
    }
    

    —end example]

    3.3.7 Name hiding

    2 A class name (9.1) or enumeration name (7.2) can be hidden by the name of an object, function, or enumer- ator declared in the same scope. If a class or enumeration name and an object, function, or enumerator are declared in the same scope (in any order) with the same name, the class or enumeration name is hidden wherever the object, function, or enumerator name is visible.


    With the quotes from the standards, all these statements are correct.

    class ABC{};
    class abc{};   // abc and ABC are two different character sequences for the 
                   // class entity. And similar is the case for next two function
                   // entities.
    
    int ABC(){} 
    int abc(){}
    
    int main(){      
        int abc;   // abc and ABC are two different character sequences.
        char ABC;
    }
    

    Finally ..explain any other thing ..is i left?

    Both the functions ABC(), abc() are supposed to return int, which they are not doing though 🙂

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

Sidebar

Related Questions

I have a form like this: <form name=mine> <input type=text name=one> <input type=text name=two>
For the purposes of this question, I am interested only in Standard-Compliant C++, not
I can get the country code in ISO-form using TelephonyManager::getNetworkCountryIso() , as it returns
Server is PHP5 and HTML charset is latin1 (iso-8859-1). With regular form POST requests,
Can anyone tell me why this form does not properly submit values to server?
Form validation for check boxes only seems to be working in IE....? Anyone have
My form receives asynchronous callbacks from another object on random worker threads. I have
if Form.Release is called after using the form, it will free all related memory
My form does not go to recipient when submitted! I changed the file mail.tpl.txt
Windows Form I'm using the DragOver event on a layoutpanel and the DragEventArgs returns

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.