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 / sangram
p is a pointer and it holds address.
we are assigning 20 to p;it means pointer p points the value pointed by address 20.
so to show the value on address 20 you have give *p
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a c program for swapping two strings using pointer
What is static memory allocation? Explain
What is an auto keyword in c?
Can we use any name in place of argv and argc as command line arguments?
How can I read in an object file and jump to locations in it?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is the difference between test design and test case design?
What are the types of arrays in c?
What is d'n in c?
What is call by value in c?
What are enums in c?
How many main () function we can have in a project?
What does 2n 4c mean?
Write a program to swap two numbers without using a temporary variable?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?