what is constant pointer?

Answer Posted / rekha_sri

Constant pointer:
-----------------
If you have a value in your program and it should not
change, or if you have a pointer and you don't want it to be
pointed to a different value, you should make it a constant
with the const keyword.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can i use “int” data type to store the value 32768? Why?

750


Can you please compare array with pointer?

611


Why we use void main in c?

590


What is a volatile keyword in c?

634


Are enumerations really portable?

591






Explain how do you list files in a directory?

610


Explain how can you tell whether a program was compiled using c versus c++?

571


How are variables declared in c?

597


Where static variables are stored in memory in c?

519


which type of aspect you want from the student.

1697


How is a macro different from a function?

652


What are file streams?

562


All technical questions

1505


What is difference between structure and union?

593


How do c compilers work?

602