const char *
char * const
What is the differnce between the above two?
Answer Posted / karthik natarajan
const char * makes the data constant
char * constant makes the pointer constant
| Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
Please explain the reference variable in c++?
Which compiler does turbo c++ use?
Is c++ a software?
Can you Mention some Application of C/C++?
What is array in c++ example?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
How many static variables are created if you put one static member into a template class definition?
Explain how to initialize a const data member.
Can constructor be static in c++?
How can a called function determine the number of arguments that have been passed to it?
What is conditions when using boolean operators?
How are the features of c++ different from c?
When should you use global variables?
What is c++ & why it is used?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?