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 / immanuel
printf("%p",p); // this prints the address to 20
printf("%d",p); //this prints the value itself.
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Describe wild pointers in c?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
What is difference between main and void main?
Can a file other than a .h file be included with #include?
write a program to print largest number of each row of a 2D array
What are header files and what are its uses in C programming?
Explain how can I pad a string to a known length?
Explain how can I right-justify a string?
How can I remove the leading spaces from a string?
Disadvantages of C language.
Explain the use of bit fieild.
What is use of pointer?
What is 1d array in c?
Is r written in c?
What is f'n in math?