hot post

Take Nothing and Return Nothing in c programming |Examples of Take Nothing and Return Nothing

 

Take Nothing and Return Nothing in c programming |Examples of Take Nothing and Return Nothing

Take Nothing and Return Nothing in c programming


Hello friends,

Today, we will study about Examples of Take Nothing and Return Nothing in c programming in very detail. Many programmers do not understand what is ‘Take Nothing’ and ‘Return Nothing’ and a lot of programmers Become confused. If you want to know ‘Take Nothing’ and ‘Return Nothing’ in very detail then read this article very carefully and practice all the examples which I will give you.

Then let’s start


what is ‘Take Nothing’ and ‘Return Nothing’?


No Argument No Return Value:

In this type of User-Defined Function, no value of any type is passed to the User Defined Function as an Argument or Parameter. These User Defined Functions do not return any type of Calling Function.

 

This type of User-Defined Function is created only for a particular work and this type of function has no relation with the Calling Function as soon as they are completed.

 

Without this type of function without Argument and without Return value, the bracket of the function is left blank and, in this function, either the return keyword is not done or Return (0) is written, which means that this User Defined Function is not returning any value calling function.

Lets, take an example for better understanding


Example 1:

For addition:

Take Nothing and Return Nothing in c programming |Examples of Take Nothing and Return Nothing

Example 2:

For subtraction:

Take Nothing and Return Nothing in c programming |Examples of Take Nothing and Return Nothing

I hope you understand very well 

Thanks for reading this post

Also, read



Post a Comment

1 Comments

Please do not enter any spam link in the comment box and please follo me.