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
what is the syallabus of computer science students in group- 1?
what is the function of pragma directive in c?
List some of the static data structures in C?
What are different storage class specifiers in c?
I have a varargs function which accepts a float parameter?
What is difference between far and near pointers?
Explain how can I avoid the abort, retry, fail messages?
Is it possible to execute code even after the program exits the main() function?
in linking some of os executables are linking name some of them
What is difference between array and pointer in c?
What is difference between structure and union in c programming?
Why is a semicolon (;) put at the end of every program statement?
Difference between strcpy() and memcpy() function?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Not all reserved words are written in lowercase. TRUE or FALSE?