What is the output of this C code int *f(); int main() { int *p = f(); printf("%d\n", *p); } int *f() { int *j = (int*)malloc(sizeof(int)); *j = 10; return j; }
Comments and Answers (2)
Deeksha
anyone have any solutions
Binod
please give any soltion
{{SampleComment.userName || "Your Name"}} ~ {{SampleComment.userCity}}
{{SampleComment.commentValue || "Your Answer or Comment goes here...."}}