answersLogoWhite

0

No. In some languages PROCEDUREs don't return a value, FUNCTIONs do; in C (and derivatives) return-type void means no return value. Example:

void Hello (const char *msg) { puts (msg); }

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

What is overloaded subprogram?

subprogram overloading is a process of using the same (function) name for many subprograms. the overloaded subprograms may differ in the number, type or order of its its parameters.java, c++ and c# provides the feature of subprogram overloading . when an overloaded subprogram is called,java or c++ compiler first checks the subprogram name and then the number and type of parameters are analyzed to decide which version of the overloaded subprogram must be chosen for execution. this process is also known as 'polymorphism'. the return type of a subprogram has no affect on subprogram overloading whereas it is used to differentiate between the calls in ADA. hence,two overloaded functions in ADA can have the same parameter profile with different return values.


What are used to document a program and improve its readability?

Comments


What significance is attached to the name main?

main refers to the entry point of an application. All programs must have a main() function that returns an integer to the calling program or script. The return value can be used for any purpose, but generally a non-zero negative value is used to indicate that an error occurred (zero meaning no error).


What is the difference between system call and library function call?

On one level, there is no difference. They are both function calls. The only difference is in what they do. System calls do something the user program cannot do; something having to do with system resources: memory, files, devices, network, terminals, processes etc. However, system calls are usually implemented by library function calls because, at the root of the matter, a C or C++ program can only invoke function calls to call upon the operating system to do things.


What is significance attached to the main function in C programming?

The main function in C++ is no different to any other function, other than it is the only required function; it defines the entry point of the application. The minimal main function (and therefore the minimal C++ program) is: #include <stdio.h> int main() { return(0); } The main function must always return an integer to the caller (even if not required by the caller). A return value of zero is usually used to indicate the program terminated successfully, however it is up to the programmer to decide what the return value actually means to the caller. It is common to return (-1) upon an unrecoverable error.

Related Questions

What is overloaded subprogram?

subprogram overloading is a process of using the same (function) name for many subprograms. the overloaded subprograms may differ in the number, type or order of its its parameters.java, c++ and c# provides the feature of subprogram overloading . when an overloaded subprogram is called,java or c++ compiler first checks the subprogram name and then the number and type of parameters are analyzed to decide which version of the overloaded subprogram must be chosen for execution. this process is also known as 'polymorphism'. the return type of a subprogram has no affect on subprogram overloading whereas it is used to differentiate between the calls in ADA. hence,two overloaded functions in ADA can have the same parameter profile with different return values.


Why is Jesus calling softly and tenderly?

Jesus always calls softly and tenderly as he wants you to return to him.


Is there a software program that blocks calls when using a computer to make calls?

There could be.


Is it the law that doctors return telephone calls from their patients?

What the law requires depends on the country and locality in which you are located, but in general there is no law requiring doctors to return telephone calls from their patients.


TV repair shop willnt return calls?

what are you asking?


What are the release dates for The Therapist - 2011 You Can't Return My Calls 1-6?

The Therapist - 2011 You Can't Return My Calls 1-6 was released on: USA: 26 October 2011


Does a girl like you if she always calls you playfull names and always calls you babe and always talks to you first?

Around 80% chance she does. Some girls are like this to everyone.


What are used to document a program and improve its readability?

Comments


Purpose of system calls?

it is a method by which a program makes a request to os


What are some benefits of using the Micro Trend program House Calls?

The company Trend Micro offer the program House Calls. It is an on-demand antivirus program that is available for free. Use of an anti-virus program will help secure your computer from viruses, trojans, worms and other unwanted programs.


Can a girl like you and not return your calls?

yes maybe shes playing hard to get


Can ishowu be used to record Skype calls?

Never heard of that program and i have skype for the business. BUT what are you scared to tell a Recording Program ?