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
Is that possible to store 32768 in an int data type variable?
find the sum of two matrices and WAP for it.
What is c standard library?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
Explain how can you tell whether two strings are the same?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Explain the difference between the local variable and global variable in c?
Can you pass an entire structure to functions?
code for replace tabs with equivalent number of blanks
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is difference between stdio h and conio h?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What is the use of parallelize in spark?
What does do in c?