#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
difference between ordinary variable and pointer in C?
What is extern keyword in c?
Explain what is the benefit of using const for declaring constants?
Taking an example,differentiate b/w loader and linker ?
Why functions are used in c?
What are structural members?
why program counter is 16 bit?
what is meant by the "equivalence of pointers and arrays" in C?
Who developed c language and when?
what is level of tree if leaf node is at level 4.please explain.
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset