What is void use in c coding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is void use in c coding

Please solve

22nd Dec 2018, 8:02 AM
DEEPAK
DEEPAK - avatar
1 Answer
+ 1
Exactly, also if you define a function let's say "int main( ) { }", make Sure you write "int main(void){ } " instead, Else the function could use undefined parameters
22nd Dec 2018, 11:10 AM
Pascal Pizzini
Pascal Pizzini - avatar