Ask coding questions

← Back to all posts
why does it come up with exited, segmentation fault when you input the correct things?
4moulg61 (0)

I don't know how to fix it!!! please someone save my soul

Comments
hotnewtop
mwilki7 (1133)

line 32:
scanf("%d", newAge);
you forgot the &
scanf("%d", &newAge);