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

What is c preprocessor mean?

1319


How was c created?

1068


Explain can static variables be declared in a header file?

1155


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

3297


Explain main function in c?

1086


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2646


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

1041


Is multithreading possible in c?

1015


Which is better malloc or calloc?

1105


In a switch statement, what will happen if a break statement is omitted?

1069


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2415


What is data type long in c?

1078


What are reserved words with a programming language?

1142


How will you delete a node in DLL?

1296


Differentiate between declaring a variable and defining a variable?

1048