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

What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;

12 Answers   TCS,


How would you write qsort?

1 Answers  


What are bit fields? What is their use?

2 Answers   Adobe,


main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }

3 Answers   CSC,


What are global variables and explain how do you declare them?

0 Answers  


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

0 Answers  


What is realloc in c?

0 Answers  


What is exit() function?

0 Answers  


void main() { int i=5; printf("%d",i+++++i); }

17 Answers   ME,


write a program that will print %d in the output screen??

9 Answers   Infosys,


how can i print "hello"

3 Answers  


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. &#61550; Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. &#61550; When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. &#61550; Sequence of take-off is the sequence of addition to the waitlist

0 Answers  


Categories