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
Can manipulators fall in love?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
What is difference between array and vector in c++?
What is set in c++?
Is ca high or low level language?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
Describe private, protected and public – the differences and give examples.
Can a Structure contain a Pointer to itself?
Can I learn c++ without c?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
Can you overload the operator+ for short integers?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
What is a character in c++?
What does extern mean in a function declaration in c++?
Is c better than c++?