what is the difference between
const char *p, char const *p, const char* const p
Answer Posted / bhargav
Const char *P ->
declares a pointer through which you may be able to access
a char but you can not change it through the said pointer.
But the pointer itself can be changed.
char const *p ->
in this the value is constant
const char* const p ->
both address and value are constants
Is This Answer Correct ? | 13 Yes | 22 No |
Post New Answer View All Answers
Explain the bubble sort algorithm.
Explain what are compound statements?
What is queue in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the return type of sizeof?
Whats s or c mean?
Explain the difference between malloc() and calloc() function?
What is the use of typedef in structure in c?
What is a 'null pointer assignment' error?
What is the difference between far and near in c?
Explain why C language is procedural?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is a structure and why it is used?
Explain low-order bytes.
What is the difference between break and continue?