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 are integer variable, floating-point variable and character variable?
What are qualifiers and modifiers c?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is pass by reference in c?
What are the different types of endless loops?
write a programming in c to find the sum of all elements in an array through function.
Can you please explain the difference between malloc() and calloc() function?
What is the value of c?
How does normalization of huge pointer works?
What does c mean before a date?
What is a shell structure examples?
What is the right type to use for boolean values in c? Is there a standard type?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
In C programming, what command or code can be used to determine if a number of odd or even?
Is c object oriented?