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 / singamsa

we can not access a++ or a-- on array but we can do that in
pointers

array, address is constanct for that string, pointer is not
like that

Is This Answer Correct ?    43 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you determine the maximum value that a numeric variable can hold?

1299


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

1109


What is the difference between functions getch() and getche()?

1139


Explain the difference between #include "..." And #include <...> In c?

1092


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2747


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1214


What does the error message "DGROUP exceeds 64K" mean?

1277


What is the best way of making my program efficient?

1083


Why c is called top down?

1219


pierrot's divisor program using c or c++ code

2286


State two uses of pointers in C?

1108


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1128


Are the outer parentheses in return statements really optional?

1160


What is a void pointer? When is a void pointer used?

1107


Write a program to print factorial of given number without using recursion?

1045