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 / ankit
it will show compiler error as we are trying to assign integer value to pointer variable.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What are pointers?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What are the disadvantages of c language?
What is #define size in c?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is a volatile keyword in c?
Why is %d used in c?
Is calloc better than malloc?
what value is returned to operating system after program execution?
How does sizeof know array size?
Where are c variables stored in memory?
Can I initialize unions?
How can my program discover the complete pathname to the executable from which it was invoked?
What is the equivalent code of the following statement in WHILE LOOP format?
Should a function contain a return statement if it does not return a value?