#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 are different types of pointers?
Should I learn c before c++?
What does s c mean in text?
What is the scope of global variable in c?
Please write me a program to print the first 50 prime numbers (NOT between the range 1 -50)
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
what is the difference between exit() and _exit() functions?
extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }
Place the #include statement must be written in the program?
could u able to tell about suresoft technical session
Is printf a keyword?
Write a program for Overriding.