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

Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June

0 Answers  


DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

2 Answers   Wipro,


how will you write a program on linked lists using JAVA programming???????????

1 Answers   Keane India Ltd,


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


what is the difference between const volatile int i & volatile const int j;

2 Answers   HCL,






Explain how can I right-justify a string?

0 Answers  


How do you initialize function pointers? Give an example?

3 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers   TCS, Vimukti Technologies,


Can the sizeof operator be used to tell the size of an array passed to a function?

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers  


What is difference between constant pointer and constant variable?

0 Answers   Hexaware,


Explain how do I determine whether a character is numeric, alphabetic, and so on?

0 Answers  


Categories