Initialization makes pointer from integer without a cast – C
To make it work rewrite the code as follows – The code above will work. In C, when you wish to change the value of a variable in a function, you “pass the Variable into the function by Reference“. You can read more about this here – Pass by Reference Now the error means that … Read more