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
Is a house a mass structure?
List a few unconditional control statement in c.
What is the easiest sorting method to use?
Which is the best website to learn c programming?
Why & is used in scanf in c?
How is a pointer variable declared?
Is it better to use a macro or a function?
can anyone suggest some site name..where i can get some good data structure puzzles???
How would you rename a function in C?
Define and explain about ! Operator?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
What do you understand by normalization of pointers?
Does free set pointer to null?
What is the process to generate random numbers in c programming language?