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
How the endl and setw manipulator works?
What are manipulators used for?
Can a program run without main function?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
What is the difference between global variables and static varables?
What is the difference between public, private, and protected access?
What are special characters c++?
What is static function? Explain with an example
What is the size of integer variable?
Comment on c++ standard exceptions?
What is the use of vtable?
Which one between if-else and switch is more efficient?
Is java made in c++?
How is static data member similar to a global variable?
What are the extraction and insertion operators in c++? Explain with examples.