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 is the difference between method overloading and method overriding in c++?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What is the basic of c++?
What are vtable and vptr?
Why do we need c++?
Explain deep copy?
Should I learn c or c++ or c#?
What do you mean by enumerated data type?
Explain the concept of dynamic allocation of memory?
Can we use pointers in c++?
Explain mutable storage class specifier.
Differentiate between C and C++.
Can we overload operator in c++?
Differentiate between a copy constructor and an overloaded assignment operator.
How would you use the functions randomize() and random()?