answersLogoWhite

0

In C, a variable declared as static in a function is initialised once, and retains its value between function calls.

The default initial value of an uninitialized static variable is zero.

If a function or global variable is declared static, it can only be accessed in that file.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

2 types of identifiers in C programming language?

1. identifiers beginning with a letter 2. identifiers beginning with an underscore


What is the identifiers in turbo c?

all keywords


Is the identifiers 'name' and 'NAME' different in c?

Yes they is different, C language are case-sensitive.


What are the balance identifiers for disbursement accounting?

C, o, u, e


What are the balance identifiers for disbursement accounting stages?

C, o, u, e


Can a reserved word be used as an identifier name?

Identifiers are a bit more generic in the context of programming. If you mean, in terms of the C languages (C, C++, C#), the question is the reverse...keywords may NOT be used as identifiers. For example, you cannot use keywords such as "int", "float", "double", etc. as the names of variables or objects.


Are the identifiers name and NAME different in c?

If you mean 'are identifier of an object and nameof an object synonyms?', then yes, they are.


What is the exact definition of identifiers in c language?

An identifier is a name. All names must be declared with a type.


What is the maximum length allowed in difining a c variable?

In order to claim compliance with ANSI C standards, the minimum maximum for internal identifiers and macros is 63 characters, and external identifiers is 31 characters. Vendors are encouraged to avoid imposing a maximum value whenever possible.


What is the use of define key word in c?

Actually, the preprocessor is not part of the C compiler, but here you are: #define is meant to define symbols. Examples #define NULL ((void *)0) #define getchar() getc(stdin)


Which class is used to define the controls in c sharp?

.Ascx class file is used to define the controls in c#


What is the balance identifiers (BIDs) for disburesement Acounting stage?

Not o,e,r,u