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

How can you invoke another program from within a C program?

0 Answers  


swap 2 numbers without using third variable?

0 Answers   IBS,


how to write a c program to print list of fruits in alpabetical order?

0 Answers  


A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }

2 Answers   Wipro,


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

0 Answers  






Explain enumerated types in c language?

0 Answers  


What is the mean of function?

0 Answers  


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

0 Answers   Subex,


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

0 Answers  


void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }

3 Answers  


is forign key will be unique key any table or not?

2 Answers  


What do header files do?

0 Answers  


Categories