#include <stdio.h> int *fun(); int main() { int *ptr = fun(); printf("%d\n", *ptr); } int *fun() { int n = 12; return &n; }
Segmentation fault
Previous Question Next Question
Your comments will be displayed only after manual approval.