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

What is meant by preprocessor in c?

1016


What should malloc() do?

1171


Can a void pointer point to a function?

1022


What are nested functions in c?

1020


What is nested structure?

1043


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5461


program to convert a integer to string in c language'

2457


What is void main ()?

1075


Explain about C function prototype?

1092


Why c is faster than c++?

1040


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1688


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2180


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

2021


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

1408


Why do we use return in c?

1003