C two dimensional array segmentation fault
By
FakezZ
in Programming
in Programming
Go to solution
Solved by Mr_KoKa,
You are assigning NULL to mem instead comparing it against NULL in the first if. The whole if condition evaluates to NULL so it is not fulfilled and doesn't return 1.
-
Topics
-
7
-
kasdashd ·
Posted in Mobile Gaming1 -
JakubR8 ·
Posted in Operating Systems13 -
16
-
15
-
0
-
0
-
IR76 ·
Posted in Hobby Electronics4 -
7
-
1
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now