144k views
3 votes
Which statement is correct? A C++ declaration is a definition but does not allocate storage for an identifier's value (or function's body etc.). A C++ declaration introduces only an identifier's spelling and specifies its type In C++ the variables Alpha, ALPHA and AlphA are the same identifier In C++ the compiler will infer the type intended for a variable from the context in which the variable occurs

User Raatje
by
5.2k points

1 Answer

6 votes

Answer:

Step-by-step explanation:

A C++ declaration is a definition that also allocates storage for an identifier's value(or function's body etc.).

User Arush Kamboj
by
6.1k points