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

Explain union.

0 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 Answers   Mind Tree,


array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}

12 Answers   Google, Motorola,


who is the editor of 'pokemon'?

1 Answers  


Explain enumerated types.

0 Answers  






int *a[5] refers to

12 Answers   TCS,


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

0 Answers  


enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?

4 Answers   TCS,


A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone

1 Answers  


Explain how do you convert strings to numbers in c?

0 Answers  


Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)

1 Answers   NetApp, PTU, 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  


Categories