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 operators can you overload in c++?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What is functions syntax in c++?
Show the application of a dynamic array with the help of an example.
What is vector pair in c++?
What is the use of function pointer?
What is ios flag in c++?
What is a hash function c++?
What is double in c++?
What is setf in c++?
What does new return if there is insufficient memory to make your new object?
Is there a c++ certification?
What is the extraction operator and what does it do?
Write a Program for find and replace a character in a string.
How would you differentiate between a pre and post increment operators while overloading?