What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / ratish
c/c++ is case sensitive language. so Char is invalid data type. hence char *a="String" is correct answer.
Is This Answer Correct ? | 11 Yes | 14 No |
Post New Answer View All Answers
Is java easier than c++?
Do we have to use initialization list in spite of the assignment in constructors?
What's c++ used for?
Which is most difficult programming language?
How does class accomplish data hiding in c++?
What do you mean by stack unwinding in c++?
What is a sequence in c++?
Can manipulators fall in love?
Why the usage of pointers in C++ is not recommended ?
What is ios flag in c++?
Explain Text Manipulation Routines?
Define a pdb file.
Can we inherit constructor in c++?
How should a contructor handle a failure?
How would you implement a substr() function that extracts a sub string from a given string?