include<stdio.h>
include<stdlib.h>
void fun(int a)
{
a = (int)malloc(sizeof(int));
}
int main()
{
int *p;
fun§;
*p = 6;
printf("%d\n",*p);
getchar();
return(0);
}
/what will be output of this/
void fun(int a)
{
a = (int)malloc(sizeof(int));
}
int main()
{
int *p;
fun§;
*p = 6;
printf("%d\n",*p);
getchar();
return(0);
}
/what will be output of this/
hey can u paste this chunk of code on to the ide and send again. like this some of things have changed like the argument of the function etc