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
Why is struct padding needed?
How can I determine whether a machines byte order is big-endian or little-endian?
how is the examination pattern?
which type of aspect you want from the student.
How to declare pointer variables?
What is c system32 taskhostw exe?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What are local static variables? How can you use them?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is break in c?
What are header files? What are their uses?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?