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

Which programming language is best for getting job 2020?

1046


How does placing some code lines between the comment symbol help in debugging the code?

984


When can you use a pointer with a function?

1056


What is the easiest sorting method to use?

1155


Explain bitwise shift operators?

1239


How can I read and write comma-delimited text?

1068


What does it mean when a pointer is used in an if statement?

1101


Can you pass an entire structure to functions?

1117


Write a program to swap two numbers without using third variable in c?

1126


Explain what are reserved words?

1097


What is the purpose of sprintf?

1128


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1024


What is meant by 'bit masking'?

1384


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1689


Write a program to check palindrome number in c programming?

1009