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
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
which of the following is not an secondary constant a) array b) real c) union
What does it mean to declare a member function as static?
What is the benefit of c++?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
Show the declaration for a static function pointer.
What is a float in c++?
What is the object serialization?
Why c++ does not have finally?
What is token c++?
What is the main purpose of overloading operators?
What's the best free c++ profiler for windows?
Can I learn c++ without c?
What are the storage qualifiers?
What are the types of container classes?