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 |
Write a program that his output * *** *****
What is the difference between union and structure in c?
what are bit fields? What is the use of bit fields in a structure declaration?
0 Answers Flextronics, TISL, Virtusa,
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?
what is link list?
while initialization of array why we use a[][2] why not a[2][]...?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What is the difference between char array and char pointer?
What is the condition that is applied with ?: Operator?
what is the function of void main()?
what is the importance of spanning tree?
x=2,y=6,z=6 x=y==z; printf(%d",x)
13 Answers Bharat, Cisco, HCL, TCS,