#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 array_name and &array_name?
related to rdbms query .
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What is memmove?
read a number & print all its devisors using c-program?
How can I delete a file?
What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar
Why can arithmetic operations not be performed on void pointers?
What are volatile variables in c?
write a program in c to print **** * * * * ****