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
Explain what is the difference between far and near ?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the scope of static variable in c?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
How can I write functions that take a variable number of arguments?
How can I read data from data files with particular formats?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
How do you define structure?
Does * p ++ increment p or what it points to?
What language is c written?
What is a structure member in c?
What's the best way of making my program efficient?
can any one provide me the notes of data structure for ignou cs-62 paper
What is difference between && and & in c?
Can a void pointer point to a function?