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

Answer Posted / guest

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

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between the local variable and global variable in c?

594


What are reserved words with a programming language?

597


What is c preprocessor mean?

782


what will be maximum number of comparisons when number of elements are given?

1406


What are the types of bitwise operator?

657






What is difference between far and near pointers?

604


How can you increase the size of a dynamically allocated array?

637


Why ca not I do something like this?

583


What do you understand by friend-functions? How are they used?

641


State the difference between realloc and free.

625


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

599


How do you construct an increment statement or decrement statement in C?

735


What is a char c?

586


What does do in c?

602


What is omp_num_threads?

575