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
What is sizeof int in c?
What is the process to generate random numbers in c programming language?
What is pointer to pointer in c language?
Write a simple code fragment that will check if a number is positive or negative.
What is ## preprocessor operator in c?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is pragma c?
What do you mean by a sequential access file?
What is c programing language?
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.
Should a function contain a return statement if it does not return a value?
Where is volatile variable stored?
What is the difference between test design and test case design?
What is pivot in c?
Where are the auto variables stored?