Answer Posted / srsabariselvan
constant Pointer:
we can't modify the value of pointer.i.e.,value of
pointer is constant.
Declaration:
int i=2,j;
int const *p;
p=&i;
p=&j;
Pointer Constant:
in case of Pointer constant, we can't modify the address of
pointer.i.e,address stored in pointer is constant.
This must be intialized
Declaration:
int i=2;
int *const p=&i;
*p=4;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
What is a char in c?
string reverse using recursion
What are the __date__ and __time__ preprocessor commands?
What is structure of c program?
How can a process change an environment variable in its caller?
program for reversing a selected line word by word when multiple lines are given without using strrev
What are terms in math?
Under what circumstances does a name clash occur?
Explain about block scope in c?
What is the function of multilevel pointer in c?
What is the best organizational structure?
Write a factorial program using C.
What is the difference between array and pointer?
What is the sizeof () a pointer?