+ 1

Why do I get warnings in this void pointer using function?

https://code.sololearn.com/cUo9vHkFJ6wQ/?ref=app

23rd Jul 2021, 6:17 AM
Srinath
4 Respostas
+ 1
You declare 'a' as an integer and return it in a void function
23rd Jul 2021, 6:19 AM
Slick
Slick - avatar
+ 1
Jazz thanks man!! That was really helpful!
24th Jul 2021, 3:12 PM
Srinath
0
Verstappen void doesn't return anything. It is called as non-return data type.
23rd Jul 2021, 6:37 AM
A͢J
A͢J - avatar
0
Slick A͢J here I used void* as given by the lesson example
23rd Jul 2021, 6:42 AM
Srinath