Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



To what value are pointers initialized? 1) NULL 2) Newly allocated memory ..

Answer / deepanjali

no action is taken by complier to initialize pointers

Is This Answer Correct ?    21 Yes 3 No

To what value are pointers initialized? 1) NULL 2) Newly allocated memory ..

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

To what value are pointers initialized? 1) NULL 2) Newly allocated memory ..

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

To what value are pointers initialized? 1) NULL 2) Newly allocated memory ..

Answer / shruti

Ponters are initialised to newly allocated memory locations.

Is This Answer Correct ?    4 Yes 7 No

Post New Answer

More C Interview Questions

Write a program that his output * *** *****

1 Answers  


What is the difference between union and structure in c?

0 Answers  


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?

1 Answers  


what is link list?

3 Answers  


while initialization of array why we use a[][2] why not a[2][]...?

0 Answers   Aptech,


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

0 Answers  


What is the difference between char array and char pointer?

0 Answers  


What is the condition that is applied with ?: Operator?

0 Answers  


what is the function of void main()?

8 Answers  


what is the importance of spanning tree?

0 Answers  


x=2,y=6,z=6 x=y==z; printf(%d",x)

13 Answers   Bharat, Cisco, HCL, TCS,


Categories