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
const char *p, char const *p, const char* const p

Answer Posted / vignesh1988i

CONST char *p:
here the const. keyword is coming before the data
type... so the string here will be the constant but not he
pointer...
char CONST *p:
here also the string will be the constant but not the
pointer...
CONST char* CONST p:
here both , the string as well the pointer will be constant

Is This Answer Correct ?    64 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do variables need to be initialized?

1113


What are the benefits of organizational structure?

1064


What is scope of variable in c?

1095


What does return 1 means in c?

1119


What is meant by type specifiers?

1188


What is the difference between a free-standing and a hosted environment?

1196


What is a stream in c programming?

1232


What is maximum size of array in c?

1088


Explain function?

1142


What tq means in chat?

1175


Is it fine to write void main () or main () in c?

1077


What is a void pointer in c?

1158


What are the uses of null pointers?

1198


If the size of int data type is two bytes, what is the range of signed int data type?

1072


can anyone please tell about the nested interrupts?

2186