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 is scope and lifetime of a variable in c?
What is volatile variable in c?
What are the modifiers available in c programming language?
Calculate 1*2*3*____*n using recursive function??
How do I read the arrow keys? What about function keys?
What are the different types of errors?
Can 'this' pointer by used in the constructor?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What is c mainly used for?
How many keywords are there in c?
What is typedef example?
Why we use conio h in c?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is the difference between mpi and openmp?
What is the difference between far and near in c?