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

Answer Posted / lokesh143

In first case address is constant
later case value is constant

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About fork()?

650


Explain what are the different data types in c?

761


How do shell structures work?

572


What are Macros? What are its advantages and disadvantages?

651


How can I manipulate strings of multibyte characters?

641






explain what are pointers?

620


Is null a keyword in c?

739


Explain the priority queues?

629


What are the __date__ and __time__ preprocessor commands?

576


What is the return type of sizeof?

598


What is the scope of static variables in c language?

633


How will you find a duplicate number in a array without negating the nos ?

1650


Are negative numbers true in c?

602


Write a program to print ASCII code for a given digit.

690


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

719