const char *
char * const
What is the differnce between the above tow?.
Answer Posted / subbu
answer is opposite to above answer
first case is constant pointer means that the address which
is assigned at the time of decalaration can not be changed
yet.
in the second case it is pointer to a constant, means the
value stored at that particular address cannot be changed
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the features of c languages?
Why malloc is faster than calloc?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
How are structure passing and returning implemented?
What is variable initialization and why is it important?
What is an arrays?
What are the benefits of organizational structure?
Explain argument and its types.
What is a global variable in c?
What is the hardest programming language?
What is a program flowchart and explain how does it help in writing a program?
Stimulate calculator using Switch-case-default statement for two numbers
Differentiate fundamental data types and derived data types in C.
What is a static function in c?
How does normalization of huge pointer works?