Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 “Hello World” program in “c” without using a semicolon?

9 Answers   CTS, TCS, Wipro,


Is it possible to run using programming C for Java Application?

2 Answers   NIC,


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

0 Answers   Persistent,


What does p mean in physics?

0 Answers  


i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).

1 Answers  






Explain pointer. What are function pointers in C?

0 Answers   HCL,


If the size of int data type is two bytes, what is the range of signed int data type?

0 Answers  


Write the control statements in C language

0 Answers   Atos Origin,


2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.

3 Answers   Nagarro,


Explain null pointer.

0 Answers  


What is a good way to implement complex numbers in c?

0 Answers  


what is the diffrenet bettwen HTTP and internet protocol

0 Answers  






Categories