const char *
char * const
What is the differnce between the above tow?.
Answer Posted / vignesh1988i
as for as i know.....
1) const char * :
here the character pointer is a constant which can point to
oly one character type memory location throught the program.
2) char * const :
hrere the pointer is not a constant , the character variable
used after it will be constant.. in that variable we cant
make any changes... but in pointer we can make
thank you
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does != Mean in c?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Place the #include statement must be written in the program?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is the process of writing the null pointer?
What is a structural principle?
What is time complexity c?
Why c language?
Write a program to swap two numbers without using the third variable?
What is a pointer in c?
What is the purpose of realloc()?
What is main () in c?
What is #include called?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
What is getch() function?