answersLogoWhite

0

No.. It is not possible at any point

User Avatar

Wiki User

∙ 14y ago
User Avatar

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.


If a function does not have return type it is declared as?

If a function does not have a return type, it is declared as void. The void keyword indicates that the function does not return a value after its execution. This is commonly used for functions that perform actions but do not provide any output to the caller.


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.


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


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.

Trending Questions
Rectifier a passive component? What statements may appear anywhere you need them in a program? How do you create Write a program that takes 10 integers as input The program will place these integers into an array and display the following 1. List in ascending order 2. mean 3. median 4.max val? What is use of RFC in Hartley oscillator? When does a Borland c compiler throw an error as could not execute 16-bit process error code 32 when a program is executed after successful compilation? What is the first value that is searched for in an array when using a selection sort algorithm? Is text that displays in place of an image if a user configures his or her browser not to display images? What type of pump is jockey pump? What is the difference between PCB and bread board? Water regulation require that cold water supply pipe from the cwsc to tap outlets and the hot water storage vessel be isolated, with what? Engineers design a rocket that flies faster and requires less fuel than others. The rocket explodes the first time it is launched. Which step of the engineering process would identify the fault? Schematic diagram power amplifier sansui au 20000? Are marine engineers the same as a marine biologist? Characteristics of a triangle? What is phase opposition disposition modulation? Can you unistall java? How do you calculate the mechanical advantage of block and tackle? What are the steps for a systematic approach to problem solving? Why does gauge size go up when actual size goes down? How many values can a boolean variable have?