It's a dummy variable for functions. It's usually used when there's no actual value returned from the function, but you want the operations within the function to be caused to occur.
In C-programming: int main (void) { return 0; }
since, the word 'void' in C programming language means that it does not return any value to the user or calling function....this is usually used to specify a type of function...... for this reason w use 'void'in c program..
You don't use 'VOID', but 'void'. It means different things, such as:- void as function type means no return value- void as function parameter means no parameters- 'void *' as pointer-types means generic pointer
C is a programming language.
void simply means you don't have anything to return w/in a function, it is the same as return 0; public void sample() { MessageBox.Show("This Function do not return anything"); }
#include <stdio.h> int main (void) { puts ("Marry me"); return 0; }
They're things that keep the variables in line with the void main and your functions
int main (void) {puts ("day is holyday");return 0;}
Is this question about programming? If so, try this:int main (void) { puts ("ABC"); return 0; }
That depends on the programming language. In C, and languages derived from C (including Java), you usually declare the return value as "void", for example: void MyMethod(int par1, int par2) { // Some commands here }
In programming, specifically in C and C++, the hashtag (#) is used to include files into the main program and to create macros.
What do you mean by searching in data structure in C.?