what is the difference between
const char *p, char const *p, const char* const p
Answer Posted / vignesh1988i
CONST char *p:
here the const. keyword is coming before the data
type... so the string here will be the constant but not he
pointer...
char CONST *p:
here also the string will be the constant but not the
pointer...
CONST char* CONST p:
here both , the string as well the pointer will be constant
| Is This Answer Correct ? | 64 Yes | 32 No |
Post New Answer View All Answers
What is the need of structure in c?
Explain threaded binary trees?
What is d'n in c?
How can I dynamically allocate arrays?
How many types of functions are there in c?
Why does everyone say not to use scanf? What should I use instead?
Are the expressions * ptr ++ and ++ * ptr same?
Define recursion in c.
Why #include is used in c language?
What is function prototype?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Tell us something about keyword 'auto'.
Can we use any name in place of argv and argc as command line arguments?
hi, which software companys will take,if d candidate's % is jst 55%?
How can I run c program?