What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / vikram
char a[]="string" refers that string has constant length and it will reserve fixed memory while in case of char *a="string" the string has variable length
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can non-public members of another instance of the class be retrieved by the method of the same class?
What does iomanip mean in c++?
Why do we need function?
Where can I run c++ program?
Can I uninstall microsoft c++ redistributable?
What do you mean by inheritance in c++?
Is it possible for the objects to read and write themselves?
What is c++ used for in games?
write a porgram in c++ that reads an integer and print the biggest digit in the number
What is a syntax in c++?
Define a conversion constructor?
Can we use struct in c++?
What does count ++ do in c++?
What's c++ used for?
What are special characters c++?