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
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
What is the outcome of cout< a) 16 b) 17 c) 16.5
Explain Memory Allocation in C/C++ ?
What is the full form of stl in c++?
Can user-defined object be declared as static data member of another class?
Explain the benefits of proper inheritance.
Differentiate between structure and class in c++.
What is the use of register keyword with the variables?
Why is c++ not purely object oriented?
What is a singleton class c++?
Search for: what is pair in c++?
When do we use copy constructors?
What is the difference between strcpy() and strncpy()?
Does c++ support multilevel and multiple inheritances?