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
What are friend classes? What are advantages of using friend classes?
We use library functions in the program, in what form they are provided to the program?
What is the purpose of templates in c++?
Mention the ways in which parameterized can be invoked.
What is the purpose of template?
Is c++ a good first language to learn?
what is VOID?
What is an orthogonal base class in c++?
What is the difference between a pointer and a link in c ++?
which of the following is not an secondary constant a) array b) real c) union
What kind of problems can be solved by a namespace?
What is heap sort in c++?
What is an adaptor class in c++?
Can c++ be faster than c?
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.