#include
main()
{
int *p, *c, i;
i = 5;
p = (int*) (malloc(sizeof(i)));
printf("
%d",*p);
*p = 10;
printf("
%d %d",i,*p);
c = (int*) calloc(2);
printf("
%d
",*c);
}
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between printf and scanf )?
what is the differnce between AF_INET and PF_INET?
5 Answers Systems Plus, Wipro,
write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
which do you prefer C or Pascal?
Why is %d used in c?
What is n in c?
Why is struct padding needed?
What is difference between static and global variable in c?
What are the disadvantages of a shell structure?
How arrays can be passed to a user defined function
what are the files which are automatically opened when a c file is executed?