What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / thinker
Losers.! char* is not a constant pointer where as char[] is a constant pointer
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is class in c++ with example?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Which format specifier is used for printing a pointer value?
Explain how to initialize a const data member.
What is pointer -to-members in C++? Give their syntax?
Explain function overloading
What is late binding c++?
What is a c++ object?
Explain the problem with overriding functions
Can you pass an array to a function in c++?
How should runtime errors be handled in c++?
Define the operators that can be used with a pointer.
What are the steps in the development cycle?
what is Member Functions in Classes?
Explain Memory Allocation in C/C++ ?