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

What is the need of structure in c?

1049


Explain threaded binary trees?

1105


What is d'n in c?

1072


How can I dynamically allocate arrays?

1037


How many types of functions are there in c?

1064


Why does everyone say not to use scanf? What should I use instead?

1366


Are the expressions * ptr ++ and ++ * ptr same?

1087


Define recursion in c.

1200


Why #include is used in c language?

993


What is function prototype?

1056


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2334


Tell us something about keyword 'auto'.

1010


Can we use any name in place of argv and argc as command line arguments?

1011


hi, which software companys will take,if d candidate's % is jst 55%?

2047


How can I run c program?

1126