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
What is conio h in c?
What will be your course of action for a push operation?
What is a pointer value and address in c?
Which type of language is c?
What is void c?
Write a program which returns the first non repetitive character in the string?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What is operator precedence?
Between macros and functions,which is better to use and why?
What is the purpose of the preprocessor directive error?
Why can arithmetic operations not be performed on void pointers?
what do u mean by Direct access files? then can u explain about Direct Access Files?
Who developed c language and when?
List the difference between a "copy constructor" and a "assignment operator"?
What is a structure member in c?