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

What is the c++ programming language used for?

579


What is a modifier in c++?

629


What are punctuators in c++?

642


Can member data be public?

595


Can a program run without main?

622






What is c++ coding?

651


What are member functions used in c++?

549


What is the difference between the compiler and the preprocessor?

611


What does it mean to declare a member function as static?

609


Can you sort a set c++?

524


Is c++ free?

579


How do I get good at c++ programming?

592


What is an inclusion guard?

613


Mention the ways in which parameterized can be invoked.

534


Which format specifier is used for printing a pointer value?

573