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 |
What is #include cctype?
Why is malloc used?
What is the process of writing the null pointer?
What are different storage class specifiers in c?
What is the difference between functions abs() and fabs()?
What math functions are available for integers? For floating point?
main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain
i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).
can we declare a function in side the structure?
Write a program to accept a character & display its corrosponding ASCII value & vice versa?
Explain what are the __date__ and __time__ preprocessor commands?
What is a pointer and how it is initialized?