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


Please Help Members By Posting Answers For Below Questions

Describe the advantages of operator overloading?

791


What is c++ virtual inheritance?

837


How is modularity introduced in C++?

961


What do you mean by function overriding & function overloading in c++?

812


Can java be faster than c++?

887


Explain unexpected() function?

823


How can a struct in c++ differs from a struct in c?

812


How to give an alternate name to a namespace?

803


What is a literal in c++?

766


What c++ library is string in?

804


Declare a class vehicle and make it an abstract data type.

739


How can you say that a template is better than a base class?

795


What is std namespace in c++?

920


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3424


What does ios :: app do in c++?

786