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 that print itself even if the source file is deleted?

2 Answers  


how many keywords do C compile?

7 Answers   Microsoft, Practical Viva Questions,


what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it

5 Answers   DIT,


what is the c.

3 Answers   IBM, TCS,


What are the __date__ and __time__ preprocessor commands?

0 Answers  






What is volatile in c language?

2 Answers   HCL, TCS,


what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....

1 Answers   TCS,


Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.

0 Answers  


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

0 Answers  


how can write all 1to 100 prime numbers using for loop,if and break ?

2 Answers   TCS,


What is the maximum no. of arguments that can be given in a command line in C.?

0 Answers   HCL,


A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

2 Answers   Accenture,


Categories