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
Do variables need to be initialized?
What are the benefits of organizational structure?
What is scope of variable in c?
What does return 1 means in c?
What is meant by type specifiers?
What is the difference between a free-standing and a hosted environment?
What is a stream in c programming?
What is maximum size of array in c?
Explain function?
What tq means in chat?
Is it fine to write void main () or main () in c?
What is a void pointer in c?
What are the uses of null pointers?
If the size of int data type is two bytes, what is the range of signed int data type?
can anyone please tell about the nested interrupts?