#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

Post New Answer

More C Interview Questions

How can you increase the allowable number of simultaneously open files?

0 Answers  


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

0 Answers  


if we take a number as a char then can we manipulate(add, subtract) on this number

2 Answers  


I have a varargs function which accepts a float parameter?

0 Answers  


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

0 Answers  






Is reference used in C?

1 Answers  


What are data breakpoints?

3 Answers   Adobe,


Why array starts with index 0

2 Answers  


Why should I prototype a function?

0 Answers  


what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")

7 Answers   Cadence, JNTU, Zen Technologies,


#include<stdio.h> main() { int i=5; printf("%d",i*i-- - --i*i*i++ + ++i); } tell the answer with correct reason .specially reason is important nt answer ans by turbo c is -39

1 Answers   GameLoft,


What is exit() function?

0 Answers  


Categories