answersLogoWhite

0

What are extern initialised to?

Updated: 8/20/2019
User Avatar

Wiki User

8y ago

Best Answer

Whatever value is specified by the definition.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are extern initialised to?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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)


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

Extern


What is storage classes in c plus plus?

AUTO EXTERN STATIC are the storage classes in c++