if a function is expecting an integer pointer in c, then can i pass a void * or null or int * to that function?
yes, you can pass any of them.
we can pass only int * or null.
we can pass only int *.
we can pass int * or null or void *, but void should have proper int pointer in it.
Back To Top