const char *
char * const
What is the differnce between the above tow?.
Answer Posted / bava
in the first case it is pointer to a constant (i.e the
address can be changed ,where as the content/value in that
address cannot be changed).
In the later case it is a constant pointer (i.e the address
cannot be changed ,where as the content/value in that
address can be changed).
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How can you access memory located at a certain address?
Differentiate between #include<...> and #include '...'
What is the best style for code layout in c?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
How do you construct an increment statement or decrement statement in C?
a c code by using memory allocation for add ,multiply of sprase matrixes
How to write c functions that modify head pointer of a linked list?
Define C in your own Language.
How do I read the arrow keys? What about function keys?
Why static variable is used in c?
What is static memory allocation? Explain
What is structure in c definition?
List some basic data types in c?
What does %p mean?
How can I read and write comma-delimited text?