Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / niranjan kumar niraj

char a[]="string" returns characters and char *a[]="String"
returns address of character

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

1236


Difference between a copy constructor and an assignment operator.

950


what is scupper?

2332


What is a terminating character in c++?

1333


What are the various access specifiers in c++?

989


Explain the use of this pointer?

1124


What is an associative container in c++?

1013


Please explain the reference variable in c++?

1025


What are the 2 main types of data structures?

1076


What is function overloading c++?

1027


Do you need a main function in c++?

1084


List the advantages of inheritance.

1081


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2659


What is using namespace std in cpp?

1085


Explain the isa and hasa class relationships. How would you implement each?

1078