answersLogoWhite

0

Random garbage, obviously. Let's note that global (ie not automatic) variables are automatically initialized by zero (=NULL)

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What value cannot be changed once it is initialized?

A constant value.


Which variable has been initialized?

To determine which variable has been initialized, you would need to look at the code or context in which variables are defined. An initialized variable is one that has been assigned a value at the time of its declaration. For example, in Python, a variable like x = 5 is initialized because it has been given a specific value. If you provide a specific code snippet or context, I can help identify the initialized variable.


What are the value and preference of global variable?

Global variables can have any value, in C they are aumaticatically initialized to zero.


Why pointers are passed by reference?

It is by-value, actually, not by-reference.


Why you use pointers?

Because you can produce fast and efficient code. Function arguments are passed "by value", and so you can't change the original value of the argument, but if you use pointers, you can.


If a variable is not initialized the value of that variable is likely to be?

It's almost impossible to predict, but the value will be some data left by OS when it was previously used.


What happens if you don't initialize an instance variable of any of the primitive type in java?

Java by default initializes it to the default value for that primitive type. Thus an int will be initialized to 0(zero), a Boolean will be initialized to false.


What is a constant object in c plus plus?

A constant object is one that, once initialized, never changes value.


Array of pointers?

a pointer is a variable that contains memory location of another variable.the value u assign to the pointers are memory address of other variable.


Why pointers are required?

The most important use of pointers comes when we pass value by reference to any function. You do not need to create a second memory location as in pass by value. You can mofify the original variable by using its address.


What are the benefits of using pointers in PHP?

Pointers hold reference to variable value which is already declared in memory. Say suppose $x = 2; // Here variable is assigned value 2 in memory Now $y = &$x; // This basically points to the variable which is already allocated the value The use of pointers could greatly reduce memory usage if used correctly.


What is the default initial value for all numeric types?

If they are instance variables the default initial value is 0. If they are method local variables, they are null and must be initialized to some value before they are used