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
Tell me can the size of an array be declared at runtime?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What is the difference between near, far and huge pointers?
What does the file stdio.h contain?
Why do we use null pointer?
find the sum of two matrices and WAP for it.
What is the use of a static variable in c?
What are shell structures used for?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What is difference between union and structure in c?
The difference between printf and fprintf is ?
Do you know the use of 'auto' keyword?
What is the right type to use for boolean values in c? Is there a standard type?
What is meant by keywords in c?