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

Can you please explain the difference between strcpy() and memcpy() function?

1067


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2091


Explain what is meant by 'bit masking'?

1193


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

3061


Explain high-order bytes.

1114


which is an algorithm for sorting in a growing Lexicographic order

1801


Why do we need functions in c?

1016


Explain the use of 'auto' keyword

1120


Can you pass an entire structure to functions?

1117


What are the types of pointers in c?

1024


Are pointers really faster than arrays?

1025


FILE PROGRAMMING

2235


Explain Basic concepts of C language?

1152


Explain how does free() know explain how much memory to release?

1071


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1054