answersLogoWhite

0

void as function return-type means no return value

void as function parameter means no parameter

void * as pointer type means generic pointer

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Why do you use void main in C language?

it returns nothing


Do some simple example about prototype in c language?

int foo (void); void bar (int);


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


What is the function of void main in c language?

Actually, it is:int main (void)orint main (int, char **)the point where the execution of the program begins


Can you use the float as a return type of the main function in 'C' language?

No, it should be int type or void.


What is the size of the pointer in c language?

Platform-dependent, printf ("%d\n", (int)sizeof (void *))will tell you.


How do you find percentage in c language?

#include<stdio.h> void main() { float a=20,b=5,c=0; c=(a+b)/2; printf("%f",c); getch() }


What is fast code execution C language?

example: int main (void) { puts ("That's all"); return 0; }


Which language is used for windowsxp?

Mainly C and C++ and a bit of assembly language.


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 }


What are the three most common data types used in c?

Pick any three: int, char, long, void, char *, void *


Why Clearscreen in c language is used?

'Clearscreen' is not used in C language. TurboC has a clrscr function (prototype in conio.h).