answersLogoWhite

0

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.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What an example of a function?

In C-programming: int main (void) { return 0; }


Why you use void res in c programming?

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..


Why you are using VOID in C programming?

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


What is void command in c sharp programming?

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"); }


What do you mean by c language?

C is a programming language.


How do you make a proposal in C programming?

#include <stdio.h> int main (void) { puts ("Marry me"); return 0; }


What is token in C programming?

They're things that keep the variables in line with the void main and your functions


How can you write a c programming which say you that day is holyday?

int main (void) {puts ("day is holyday");return 0;}


What is the commands to create diractly ABC under C or inside the C?

Is this question about programming? If so, try this:int main (void) { puts ("ABC"); return 0; }


How do you create methods that does not return a value?

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 }


Why is void main kept in c programming?

Not all host environments make use of a C program's return value, thus some implementations still allow the void main function signature. C++ does not permit it, however. All C++ programs must return an integer whether the environment uses it or not.


Example of a Cosine of a given number in C programming?

int main (void) { puts ("Cosine of 60° is 1/2"); return 0; }