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

14y 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; }


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 }


Which language is used for windowsxp?

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


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

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


Is void a data type in c?

what is void data type Void is an empty data type normally used as a return type in C/C++, C#, Java functions/methods to declare that no value will be return by the function. The another use of void is to declare the pointer in C/C++ whe It is not sure that what data type will be addressed by the pointer. eg: void *p; Here p can hold the address of int or float or char or long int or double.