why to assign a pointer to null sometimes??how can a pointer
we declare get assigned with a garbage value by default???


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What are the applications of c language?

0 Answers  


Explain the priority queues?

0 Answers  


Why should I prototype a function?

0 Answers  


What are header files? What are their uses?

0 Answers  


#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }

15 Answers   Infosys,


Explain how can you determine the size of an allocated portion of memory?

0 Answers  


How can I remove the trailing spaces from a string?

0 Answers   Aspire,


Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.

12 Answers   MIT, TCS,


count the numbers between 100 and 300, that star with 2 and ends with 2

5 Answers   Mind Tree,


IS STRUCTURES CAN BE USED WITHIN AN ARRAY?

7 Answers   Caritor,


If the static variable is declared as global, will it be same as extern?

1 Answers   Samsung,


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

0 Answers   Genpact,


Categories