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
Differentiate between a structure and a union.
What is the difference between variable declaration and variable definition in c?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Explain how can you tell whether a program was compiled using c versus c++?
What does the c in ctime mean?
What are the 4 types of functions?
What are the standard predefined macros?
What is c language used for?
What is unsigned int in c?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
Write the Program to reverse a string using pointers.
what are the advantages of a macro over a function?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What does %d do?
Explain what are the different file extensions involved when programming in c?