#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
How do I round numbers?
Write a c program to print the sizes and ranges of different data types in c?
What are qualifiers?
20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????
For what purpose null pointer used?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]
Toggle nth bit in a given integer - num
WAP that prints the number from 1 to 100. but for multiplies of three print "XXX" instead of the number and for the multiplies of five print "YYY" . for number which are multiplies of both three and five print "ZZZ"
what is the difference between auto and static keywords
1 Answers cDot, College School Exams Tests, TCS,
What is typedef?
Tell me is null always defined as 0(zero)?