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

Which one is a preferred language C or C++? Why?

1022


Out of fgets() and gets() which function is safe to use and why?

1127


How do you clear a map in c++?

1062


What are the advantages of using a pointer?

1021


What is c++ stringstream?

1049


When does a 'this' pointer get created?

1031


What is ofstream c++?

1012


What is &x in c++?

938


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2731


Explain this pointer?

998


What is the size of a vector?

1055


what are the iterator and generic algorithms.

1876


What is a breakpoint?

954


When do we run a shell in the unix system? How will you tell which shell you are running?

913


What is the C-style character string?

1072