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 / deepak
/*int *p=20;
is same as*/
int *p;
p=20;
so p having address of an integer value;
so
printf("%d,%u",p,p);
will give you answer 20,20
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of getch ()?
For what purpose null pointer used?
What is the purpose of the preprocessor directive error?
How to compare array with pointer in c?
Where we use clrscr in c?
How many types of sorting are there in c?
What does do in c?
Why main is not a keyword in c?
Define Array of pointers.
What is difference between stdio h and conio h?
What is scope rule of function in c?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
program for reversing a selected line word by word when multiple lines are given without using strrev
What is the purpose of 'register' keyword?
Combinations of fibanocci prime series