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
When should we use container classes instead of arrays?
Which coding certification is best?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What is the average salary of a c++ programmer?
What are single and multiple inheritances in c++?
What is the best ide for c++?
What is an adjust field format flag?
What are the characteristics of friend functions?
What does flush do c++?
What are the sizes and ranges of the basic c++ data types?
What do you mean by inheritance in c++?
Is c++ a pure oop language?
What is the purpose of templates in c++?
What are the five basic elements of a c++ program?
Which is the best c++ software?