What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / niranjan kumar niraj
char a[]="string" returns characters and char *a[]="String"
returns address of character
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
Which function cannot be overloaded c++?
Write about the various sections of the executable image?
What is object in c++ example?
Can a Structure contain a Pointer to itself?
What is constructor in C++?
What are the various storage classes in C++?
Is java the same as c++?
Is c better than c++?
What is the use of this pointer in c++?
What is #include iostream in c++?
What is the difference between set and map in c++?
Define pre-condition and post-condition to a member function in c++?
What is a friend function in c++?
What c++ is used for?
What is the basic difference between C and C++?