What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / rajesh kumar
char *p="string" has RO permission while its counterpart char a[]="string" has RW permission.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the two shift operators and what are their functions?
Refer to a name of class or function that is defined within a namespace?
Explain the use of this pointer?
What language does google use?
What is insertion sorting?
What is the role of static keyword for a class member variable?
How many keywords are used in c++?
Describe public access specifiers?
What is c++ namespace?
How does class accomplish data hiding in c++?
How can virtual functions in c++ be implemented?
When should overload new operator on a global basis or a class basis?
Is c++ the most powerful language?
Are c and c++ different?
What do nonglobal variables default to a) auto b) register c) static