const char *
char * const
What is the differnce between the above two?
Answer Posted / sowmya.....
const char * is a constant pointer but,....
char * const is a pointer to constant
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How the keyword struct is different from the keyword class in c++?
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
What is searching?
When should overload new operator on a global basis or a class basis?
Describe about storage allocation and scope of global, extern, static, local and register variables?
What is the use of register keyword with the variables?
How is c++ different from java?
What does new return if there is insufficient memory to make your new object?
Define a constructor - what it is and how it might be called (2 methods)?
What is iterator in c++?
What do you mean by overhead in c++?
How a modifier is similar to mutator?
Is java the same as c++?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
How much maximum can you allocate in a single call to malloc()?