int *p=20;
if u print like dis printf("%d",p);
o\p:- 20; how is it possible?
plz give me the explanation.
Answer Posted / sateeshbabu aluri
we are not printing the address of variable
it mens &p;
we are printing value of p.
so,P=20 will be the o/p.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
If errno contains a nonzero number, is there an error?
What are the Advantages of using macro
What are the advantages and disadvantages of a heap?
How can a program be made to print the name of a source file where an error occurs?
What is cohesion in c?
When can a far pointer be used?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Difference between MAC vs. IP Addressing
What is structure pointer in c?
what are the 10 different models of writing an addition program in C language?
What is the difference between class and object in c?
How can you increase the size of a dynamically allocated array?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Tell me when is a void pointer used?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;