Question: What is the difference between 'const char * p ' and 'char * const q ' ? Group of answer choices ' p ' is

What is the difference between 'const char* p' and 'char* const q'?
Group of answer choices
'p' is a constant character pointer and 'q' is a constant pointer to a character.
Both are the same.
'p' is a constant pointer to a character and 'q' is a pointer to a character constant.
'p' is a pointer to a character constant and 'q' is a constant pointer to a character.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!