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
What does namespace mean in c++?
What is the benefit of c++?
How do you define a class in c++?
Show the application of a dynamic array with the help of an example.
Explain the volatile and mutable keywords.
What are function prototypes?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What is binary search in c++?
What are virtual functions in c++?
Is c++ still being used?
Which one is a preferred language C or C++? Why?
Explain how to initialize a const member data.
What is dev c++ used for?
Can we use this pointer inside static member function?
What is #include iostream?