const char *
char * const
What is the differnce between the above tow?.
Answer Posted / subbu
answer is opposite to above answer
first case is constant pointer means that the address which
is assigned at the time of decalaration can not be changed
yet.
in the second case it is pointer to a constant, means the
value stored at that particular address cannot be changed
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
how logic is used
What is the use of gets and puts?
Are there namespaces in c?
What are unions in c?
What are the standard predefined macros?
What is realloc in c?
Can we initialize extern variable in c?
If you know then define #pragma?
Write the control statements in C language
What is a #include preprocessor?
What is a built-in function in C?
How can I read/write structures from/to data files?
swap 2 numbers without using third variable?
What is this infamous null pointer, anyway?
What is structure pointer in c?