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
What is call by reference in functions?
What is a lvalue
How can I call a function with an argument list built up at run time?
Can you define which header file to include at compile time?
what do u mean by Direct access files? then can u explain about Direct Access Files?
Differentiate between a structure and a union.
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is the method to save data in stack data structure type?
Once I have used freopen, how can I get the original stdout (or stdin) back?
In a switch statement, explain what will happen if a break statement is omitted?
Describe the steps to insert data into a singly linked list.
What are the different types of control structures?
How do you print an address?
How is a structure member accessed?
Do you know what are the properties of union in c?