What is the difference between Char a[ ]=”string” and char
*a=”String”

Answer Posted / kanakesh

using char*a we can't assign new individual character like
a[2]='k';

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What data encapsulation is in c++?

592


You run a shell on unix system. How would you tell which shell are you running?

657


What is a memory leak c++?

587


What is istream and ostream in c++?

590


Why do we need templates?

538






Which is most difficult programming language?

578


Write a program which uses Command Line Arguments

631


What can c++ be used for?

578


What are the uses of c++ in the real world?

558


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

776


Explain differences between new() and delete()?

616


Define copy constructor.

618


What do you mean by friend class & friend function in c++?

620


Explain what is oop?

617


What is the first name of c++?

563