what is the difference between
const char *p, char const *p, const char* const p
Answer Posted / singamsa
const char*p - p is pointer to the constant character i.e
value in that address location is constact
char const *p - same as above
const char* const p - p is the constant pointer which
points to the constant string, both value and address are
constants
Is This Answer Correct ? | 115 Yes | 49 No |
Post New Answer View All Answers
Explain what’s a signal? Explain what do I use signals for?
What is 2c dna?
Can we use visual studio for c?
What are pointers?
Is c easy to learn?
what do you mean by inline function in C?
Why malloc is faster than calloc?
What is the general form of a C program?
What is #define in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
How are pointers declared in c?
code for replace tabs with equivalent number of blanks
Explain how do you determine the length of a string value that was stored in a variable?
What is non linear data structure in c?
What is the use of a semicolon (;) at the end of every program statement?