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 / deepak
/*int *p=20;
is same as*/
int *p;
p=20;
so p having address of an integer value;
so
printf("%d,%u",p,p);
will give you answer 20,20
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why is python slower than c?
How do I determine whether a character is numeric, alphabetic, and so on?
Why static variable is used in c?
How many types of arrays are there in c?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Define recursion in c.
What is methods in c?
What is the purpose of main() function?
How are 16- and 32-bit numbers stored?
Explain the difference between strcpy() and memcpy() function?
Is there sort function in c?
Explain the difference between structs and unions in c?
What are multibyte characters?
How can I implement a delay, or time a users response, with sub-second resolution?
List out few of the applications that make use of Multilinked Structures?