answersLogoWhite

0

What is a static identifier?

User Avatar

Anonymous

13y ago
Updated: 8/16/2019

A static identifier in a block has execution time lifespan, i.e. its value persists from point of initialization to program termination.

A static identifier outside of any block has execution time lifespan, because of its non-block semantics, but the static attribute takes on a different meaning, and means that it is not visible to modules outside of the file it is defined in.

(Only applicable to C++ - answer provided for completeness sake) A static identifier in a class is common to all instances of that class. A static method of a class can access only static identifiers of that class.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is meant by static identifier?

Nothing. I guess you mean a static variable.


What is a unique item identifier?

a unique item identifier means what?


Can you pass addresses to a function in C plus plus?

If the identifier you want to pass is an ordinary identifier, pass it as the address of... function(&identifier); If the identifier you want to pass is an array identifier, pass its name... function(arrayname);


How do you spell indentifyer?

Identifier....


Is keyward is identifier?

Isn't keyward isn't identifier.


Is A N D is an identifier?

A N D is not an identifier as it has spaces in between each letter. A valid identifier DOES NOT have space in it.


What is the difference between datatypes and modifiers in c language?

For example 'int' is a data-type, 'short', 'long', 'signed' and 'unsigned' are modifiers, 'extern', 'auto', 'static', 'register' are storage-classes. The declarations go like this: storage-class modifiers data-type identifier example: static unsigned short int x;


What is identifier in compiler design programs?

identifier is a letter , digit.


Is variable is also called as identifier?

No, the name of the variable is its identifier.


What is an identifier. what are the hearing rods for identifier 'c' language?

An identifier is the names given for labels, functions and variables in the c language.


Difference between standard and user defined identifier?

A standard identifier is a reserved word. Keywords such as for, if, goto, return, continue, break, do, while, final, extern, static and so on are all reserved. Fundamental data types and modifiers such as void, int, char, wchar_t, double, float, long, short, signed, unsigned, const, mutable, constexpr and so on are also reserved. A user-defined identifier is any name (function, class, namespace or alias) that is not a reserved word.


What is a device identifier?

A device identifier usually refers to a MAC address.