what is the difference between
const char *p, char const *p, const char* const p
Answer Posted / bhargav
Const char *P ->
declares a pointer through which you may be able to access
a char but you can not change it through the said pointer.
But the pointer itself can be changed.
char const *p ->
in this the value is constant
const char* const p ->
both address and value are constants
| Is This Answer Correct ? | 13 Yes | 22 No |
Post New Answer View All Answers
What is self-referential structure in c programming?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
application attempts to perform an operation?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
When should structures be passed by values or by references?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Explain what is output redirection?
largest Of three Number using without if condition?
Explain how does flowchart help in writing a program?
What does c mean in basketball?
Are negative numbers true in c?
What is meant by type specifiers?
Why do we use pointer to pointer in c?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is the advantage of c?