const char *
char * const
What is the differnce between the above tow?.

Answer Posted / bava

in the first case it is pointer to a constant (i.e the
address can be changed ,where as the content/value in that
address cannot be changed).
In the later case it is a constant pointer (i.e the address
cannot be changed ,where as the content/value in that
address can be changed).

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sizeof int in c?

608


What is the process to generate random numbers in c programming language?

616


What is pointer to pointer in c language?

600


Write a simple code fragment that will check if a number is positive or negative.

713


What is ## preprocessor operator in c?

619






main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

917


What is pragma c?

620


What do you mean by a sequential access file?

631


What is c programing language?

618


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

1501


Should a function contain a return statement if it does not return a value?

601


Where is volatile variable stored?

655


What is the difference between test design and test case design?

1578


What is pivot in c?

570


Where are the auto variables stored?

629