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 / lylez00
Because you're printing p, not *p. scanf takes addresses of
variables as arguments, but printf does not.
| Is This Answer Correct ? | 7 Yes | 10 No |
Post New Answer View All Answers
How do I get an accurate error status return from system on ms-dos?
What is the main difference between calloc () and malloc ()?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Write a program to print factorial of given number using recursion?
How many keywords are there in c?
When should I declare a function?
Explain zero based addressing.
Can we use visual studio for c?
What is bubble sort technique in c?
Explain what are run-time errors?
explain what is a newline escape sequence?
What is difference between scanf and gets?
What is the size of a union variable?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is spark map function?