I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged.



I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the ca..

Answer / guest

The called function probably altered only the passed copy of
the pointer.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

Write a program in c to replace any vowel in a string with z?

0 Answers   IBS,


which is an algorithm for sorting in a growing Lexicographic order

0 Answers  


Why Modern OS are interrupt driven?Give an example

3 Answers  


difference between object file and executable file

0 Answers  


write a program to print %d ?

12 Answers  






What is the mean of this statement:: if(int i=0 * i=9)

2 Answers   HCL,


What is memcpy() function?

0 Answers  


What is selection sort in c?

0 Answers  


Explain modulus operator. What are the restrictions of a modulus operator?

0 Answers  


Differentiate between null and void pointers.

0 Answers   TCS,


Why doesnt this code work?

0 Answers  


Write a c pgm for leap year

11 Answers   College School Exams Tests, IBM, TCS,


Categories