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 / valli
int *p=20;
means
int *p;
p=20;
so the address of p is 20
printf("%d",p);
it prints 20 because now the base address of p is 20
even if we print as
printf("%u",p);
the o/p will be 20
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Can we change the value of #define in c?
How many main () function we can have in a project?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What is sizeof array?
What does the c preprocessor do?
How variables are declared in c?
Explain heap and queue.
Write the control statements in C language
What does. int *x[](); means ?
What is #include cctype?
in iso what are the common technological language?
What is operator precedence?
Is flag a keyword in c?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is the best way of making my program efficient?