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

I need a sort of an approximate strcmp routine?

665


How is = symbol different from == symbol in c programming?

619


Why main is used in c?

596


What are local static variables? How can you use them?

651


What is the difference between fread buffer() and fwrite buffer()?

678






Why we use break in c?

558


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

594


Why is python slower than c?

613


plz let me know how to become a telecom protocol tester. thank you.

1751


differentiate built-in functions and user – defined functions.

639


Explain threaded binary trees?

684


What is a structure in c language. how to initialise a structure in c?

615


What is wild pointer in c with example?

585


Define recursion in c.

706


can any one provide me the notes of data structure for ignou cs-62 paper

1710