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

Why do we use static in c?

0 Answers  


main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }

6 Answers  


What is the difference between far and near ?

0 Answers  


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

8 Answers   Aspire,


Why is c called c not d or e?

0 Answers  


why we need function pointers?

3 Answers  


can v write main() { main(); } Is it true?

6 Answers  


What is meant by gets in c?

0 Answers  


what is meant by the "equivalence of pointers and arrays" in C?

3 Answers   Satyam,


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

0 Answers  


What is getche() function?

0 Answers  


Explain output of printf("Hello World"-'A'+'B'); ?

0 Answers  


Categories