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
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What is a program flowchart?
What is function in c with example?
What type of function is main ()?
write a program to find out prime number using sieve case?
What is cohesion and coupling in c?
What is pass by reference in c?
Who developed c language and when?
Ow can I insert or delete a line (or record) in the middle of a file?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Can you explain the four storage classes in C?
What is a far pointer in c?
What Is The Difference Between Null And Void Pointer?
Which driver is a pure java driver
Can one function call another?