To what value are pointers initialized?
1) NULL
2) Newly allocated memory
3) No action is taken by the compiler to initialize
pointers.
Answers were Sorted based on User's Feedback
no action is taken by complier to initialize pointers
| Is This Answer Correct ? | 21 Yes | 3 No |
Answer / n
depends:
-if static storage for pointer(pointer itself is a global
variable) => initialized with NULL
-if automatic storage =>no initialization
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / harman bajaj
When we create a pointer, then by default the pointer
initialized with NULL value .i.e. ASCII value of NULL is 0.
| Is This Answer Correct ? | 2 Yes | 1 No |
How do we declare variables in c?
Write a C program to convert an integer into a binary string?
write a program in c language for the multiplication of two matrices using pointers?
let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................
write a program to generate address labels using structures?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
What is the memory allocated by the following definition ? int (*x)();
In C programming, what command or code can be used to determine if a number of odd or even?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
What is sparse file?
consagous technology placement paper
Program to display given 3 integers in ascending order