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 / immanuel
printf("%p",p); // this prints the address to 20
printf("%d",p); //this prints the value itself.
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Explain pointers in c programming?
Mention four important string handling functions in c languages .
What's the difference between constant char *p and char * constant p?
How do you determine a file’s attributes?
What is extern c used for?
What is c system32 taskhostw exe?
What's the best way of making my program efficient?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
Why c language?
Explain what is page thrashing?
What is linear search?
What are the types of data types and explain?
How do we declare variables in c?
What is external variable in c?