New course! Every coder should learn Generative AI!
Try a free lesson+ 1
why we use VOID ?
what is the prupose of using a void function if it does not return any value ?
2 Answers
+ 2
void pointers are sometimes useful for casting pointers in C.
0
It is type of calling function with any data type we can call as int r(); but in case of void we can get value in main function, with getch() ;