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
What are preprocessor directives?
What is the general form of function in c?
Is c call by value?
Why do we use main function?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
What is New modifiers?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Write a C program to count the number of email on text
What is the difference between %d and %i?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What is a macro in c preprocessor?
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.
What is the explanation for the dangling pointer in c?
Tell me what are bitwise shift operators?
Compare interpreters and compilers.