wats the diference btwen constant pointer and pointer to a
constant.pls give examples.
Answer Posted / jose j pothoor
I see ur explanation...then what would be the answer of
below program
void main()
{
int const *p=5;
printf("%d",++(*p));
}
a)5
b)6
c) Run time error
d) Compiler error
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How can I delete a file?
What is the use of static variable in c?
What is volatile variable in c?
What are the Advantages of using macro
Tell me when is a void pointer used?
Explain why can’t constant values be used to define an array’s initial size?
What does 1f stand for?
How to find a missed value, if you want to store 100 values in a 99 sized array?
What is the c value paradox and how is it explained?
Is main is a keyword in c?
What is the difference between mpi and openmp?
What is indirection in c?
What is variable initialization and why is it important?
How can a number be converted to a string?
What is the difference between int main and void main in c?