void as function return-type means no return value
void as function parameter means no parameter
void * as pointer type means generic pointer
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..
Actually, it is:int main (void)orint main (int, char **)the point where the execution of the program begins
example: int main (void) { puts ("That's all"); return 0; }
Pick any three: int, char, long, void, char *, void *
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 }
it returns nothing
int foo (void); void bar (int);
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..
Actually, it is:int main (void)orint main (int, char **)the point where the execution of the program begins
No, it should be int type or void.
Platform-dependent, printf ("%d\n", (int)sizeof (void *))will tell you.
#include<stdio.h> void main() { float a=20,b=5,c=0; c=(a+b)/2; printf("%f",c); getch() }
example: int main (void) { puts ("That's all"); return 0; }
Mainly C and C++ and a bit of assembly language.
Pick any three: int, char, long, void, char *, void *
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 }
'Clearscreen' is not used in C language. TurboC has a clrscr function (prototype in conio.h).