What is the correct way to define a constant pointer?A. const char *name_ptr = "TEST";B. char *const name_ptr = "TEST";C. Both A and BD. None of Above.

Showing Answers 1 - 3 of 3 Answers

Vijaya Bhaskar M

  • Jul 24th, 2005
 

The choice C i.e. Both A and B is correct.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions