answersLogoWhite

0

No.. It is not possible at any point

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Is function always return a value?

no, every function can not return a value. for example void name() { cout<<"Hello world"; } this function does not return any value due to the key word void that tells the compiler that the function does not returns a value.


Why void is used in c language?

void as function return-type means no return value void as function parameter means no parameter void * as pointer type means generic pointer


What is the purpose of the keyword void in a function declaration?

when we declare any function with void,it doesnt return any value


What does a void method do?

In Java, this keyword is used to specify that the method has no return value.


What is mean void in c plus plus?

Void means there is no data type. So if you have a void function it does not return a value (and attempting to do so will cause an error) whereas a non-void function (ex. int, long, String, bool, etc) will return a value of that type.


What is meant by void abcint?

void abc(int); is a function declaration. The declared function has no return value, is named abc and accepts one integer argument by value.


Why it display function should return a value in c programme?

It is up to you to decide. You may go for 'void' return type, which means no return value.


What is meant by void in c plus plus?

void is used by functions that do not return a value. For example: // This function returns an integer, which you can use in other functions int addTwoNumbers(int a, int b) { return(a + b); } // This function does not return a value, so we declare it as a void void printSum(int a, int b) { cout << a << " + " << b << " = " << addTwoNumbers(a, b) << endl; // Note that attempting to return a value here will cause an error. }


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


Why you use viod in c?

It's void, and you use is for different purposes, like:a function doesn't have return value: void fun () ...a function doesn't have parameters: ... fun (void) ...generic pointe: void *ptr;r


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.


How do you rectify the waring is function should return a value in turbo c plus plus?

By returning a value. Or using type 'void'.