0
What is main fungtion of void
void makan(void)
7 Réponses
+ 8
As of the latest standard, main function must always be of return type int.
int main()
{
// codes
return 0;
}
+ 3
void = nothing.. means the function returns no value
+ 3
+ create universal pointers
void *ptr;
+ 1
two meanings two uses:-
1.void as return type miins that function not return any value
void show() like this
2.use void as parameter of function
void show(void)
here void use as parameter to function mins this function cannot take any argument or parameter
+ 1
Void is used in the declaration of a function that will not return a value like, void int fmax;
+ 1
void returns nothing
0
yes and if there is more main function and there function with type void
what is function of void