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


Please Help Members By Posting Answers For Below Questions

What is flush programming?

564


What is array in c++ example?

638


Why cout is used in c++?

557


Is c++ the hardest language?

555


What is buffering in c++?

578






Write a Program to find the largest of 4 no using macros.

574


Why do we use setw in c++?

635


Explain virtual destructor?

664


Can a function take variable length arguments, if yes, how?

561


Declare a class vehicle and make it an abstract data type.

531


Is map ordered c++?

584


What are the vectors in c++?

574


Do vectors start at 0 c++?

523


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

580


Describe the advantage of an external iterator.

608