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 language is windows 1.0 written?
main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }
What is function pointer and where we will use it
what is develop in c language
How do I get an accurate error status return from system on ms-dos?
What is file in c language?
What is a symbolic constant?
Is stack a keyword in c?
Difference Between embedded software and soft ware?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
can we access one file to one directory?
What is an array? What the different types of arrays in c?