const char *
char * const
What is the differnce between the above tow?.
Answer Posted / bava
in the first case it is pointer to a constant (i.e the
address can be changed ,where as the content/value in that
address cannot be changed).
In the later case it is a constant pointer (i.e the address
cannot be changed ,where as the content/value in that
address can be changed).
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Explain what math functions are available for integers? For floating point?
Do you know the difference between malloc() and calloc() function?
What is the difference between malloc() and calloc()?
What are structure types in C?
What is the meaning of typedef struct in c?
What is the purpose of the preprocessor directive error?
What is an lvalue in c?
Suggesting that there can be 62 seconds in a minute?
What is function prototype in c language?
Explain the use of bit fieild.
What is the difference between single charater constant and string constant?
What are the 4 types of programming language?
What is the size of a union variable?
What is operator promotion?
What is the role of && operator in a program code?