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 / parmjeet kumar

char a[] will alocate the momery size of " string" word in
other hand char *p will alocate the memory size of one
character... or we can not move the data from one location
to another location but with pointer we can do it...

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the red-black trees?

1125


What is #include stdio h?

1115


How arrays can be passed to a user defined function

1021


In C language what is a 'dangling pointer'?

1138


What is the right type to use for boolean values in c?

1030


Can you explain the four storage classes in C?

1119


What is a pointer variable in c language?

1103


What is c system32 taskhostw exe?

1022


What do you understand by normalization of pointers?

1058


Can you write a programmer for FACTORIAL using recursion?

1041


Write a program of advanced Fibonacci series.

1145


Explain the difference between malloc() and calloc() in c?

1044


what are # pragma staments?

2041


How variables are declared in c?

1037


write a program to rearrange the array such way that all even elements should come first and next come odd

2275