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 *p = "string"; ?

Answer Posted / man

a[] = "string"; is constant pointer to constant string
char *p = "string"; is pointer to constant string

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between full, complete & perfect binary trees.

1090


What is gets() function?

1120


What are the three constants used in c?

993


What does *p++ do?

1019


What is volatile variable in c?

1088


What is the translation phases used in c language?

1119


What is structure data type in c?

1013


When should a type cast not be used?

1058


Explain main function in c?

1079


Explain data types & how many data types supported by c?

1082


Write a c program to demonstrate character and string constants?

2186


What is difference between main and void main?

1203


Can you tell me how to check whether a linked list is circular?

1406


Do you have any idea how to compare array with pointer in c?

1047


What is .obj file in c?

1073