Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?


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

Post New Answer

More C Interview Questions

Is null valid for pointers to functions?

0 Answers  


What is main () in c language?

0 Answers  


What is a macro?

0 Answers  


Code for calculating square root without using library function, of math.h

4 Answers   IBM,


Is c compiled or interpreted?

0 Answers  


Is r written in c?

0 Answers  


which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

16 Answers   Accenture, Infosys, TCS, Wipro,


write a C program : To find out the number of identical words in two files . the file name should be taken as command line argument .

1 Answers   Subex,


In which header file is the null macro defined?

0 Answers  


explain what are pointers?

0 Answers  


can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).

1 Answers  


How we can set and clear bit in a byte using macro function?

2 Answers   L&T, Samsung,


Categories