const char *

char * const

What is the differnce between the above two?

Answer Posted / beula

const char * is the pointer to a consant variable.
char * constant is a constant pointer to a char.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ still being used?

573


What is struct c++?

580


What is the use of endl?

554


What is the object serialization?

639


What do you mean by “this” pointer?

627






What is size of string in c++?

565


Differentiate between declaration and definition.

592


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3711


What is the full form of dos?

573


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

627


what are the characteristics of Class Members in C++?

599


What is virtual destructor ans explain its use?

612


What is c++ similar to?

612


What is prototype for that c string function?

699


What is a manipulative person?

549