answersLogoWhite

0

What are extern initialised to?

User Avatar

Anonymous

9y ago
Updated: 8/20/2019

Whatever value is specified by the definition.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

What does extern C stand for?

"extern" is short of "external" which means outside.


What value is assigned to extern variable?

Default initial value of extern integral type variable is zero otherwise null.


How java use extern key word which is used in C plus plus?

No extern keyword in Java.


How do you access extern variable in c?

The usual method: with its name: extern int errno; errno= 17;


Is possible define a structure with extern keyword?

extern is used only when there is a variable or a function name. so here's what you can do, typedef struct{ int data; }my_struct; extern my_struct my_new_struct; Compilers takes this as a *type*.


Is global variables are declared within the main function?

Might be, but don't forget the keyword 'extern':int main (void){extern int errno;...}


How i useStatic extern int a in c?

No such thing, pick one ot the three: static int x; extern int x; int x;


How do you write a program to illustrate the concept of extern variable?

In order to use extern you have to have at least two files. In first one, let's call it file1.cpp, you will define a variable using extern (in this case belongs to int):...extern int myVar = 0;...Then in file2.cpp file where you have main() you need to write following:extern int myVar;Do not initialize the variable in file2.cpp, or you code will not compile.


Auto static extern register?

Storage classes.


What is meant by the storage class of a variable?

auto, extern, static, register, typedef (only formally)


How the extern variable are defined?

In C and C++, the extern keyword is used to declare a variable that is defined in another source file or translation unit. This allows the variable to be accessible across multiple files without creating a new instance of it. An extern variable is typically defined in one file, while its declaration can be included in other files using an extern statement. This facilitates modular programming and helps manage variable scope across different files.


What object is used for calling the win32 api functions in qtp?

Extern