const char *
char * const
What is the differnce between the above two?
Answer Posted / priya
we can assign char as a constant but we cannot assign
constant as a character
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
Explain what data encapsulation is in c++?
What are the uses of typedef in a program?
What is the array and initializing arrays in c++?
How does java differ from c and c++?
How is static data member similar to a global variable?
Can we declare a base-class destructor as virtual?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
How did c++ get its name?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What are the various compound assignment operators in c++?
Differentiate between a constructor and a destructor in c++.
What is vectorial capacity?
Write bites in Turbo c++ Header ("Include") Files.
What is the difference between function overloading and operator overloading?
What does it mean to declare a member function as static?