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
Tell me when would you use a pointer to a function?
How do I determine whether a character is numeric, alphabetic, and so on?
Can we assign string to char pointer?
Is swift based on c?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is data types?
If I have a char * variable pointing to the name of a function ..
Can a pointer point to null?
Is c weakly typed?
How do I send escape sequences to control a terminal or other device?
Are the variables argc and argv are always local to main?
Why is extern used in c?
What are dangling pointers in c?
What is c language and why we use it?