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 / udanesh
int *p=20 means
int *p;
p=20;
so when you print the value of p definitely you will get the output as 20 because the value of p is 20
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why can arithmetic operations not be performed on void pointers?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is wrong in this statement?
How do I read the arrow keys? What about function keys?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
write a program to display all prime numbers
What's the total generic pointer type?
What is the use of a ‘ ’ character?
How can I invoke another program or command and trap its output?
which is an algorithm for sorting in a growing Lexicographic order
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is the return type of sizeof?
Is c procedural or object oriented?