WAP of C Language that illustrates the Function with no Arguments and Return values

Engg.... | 20:01 | | Best Blogger Tips
Category of Functions

Functions with no Arguments and Return value:
The called Function does not recieve any data from the calling Function. It is also a one-way data communication between the calling Function and the called Function. So let us understand this with the help of Program:

Statement of C Program: This Program illustrates the Function with no Arguments and Return values:

#include<stdio.h>
#include<conio.h>
void main()
{
float sum;
float total();
clrscr();
sum = total();
printf(" Sum = %f\n" , sum);
}
float total()
{
float a, b;
a = 5.0 ;
b = 15.0 ;
return(a+b);
}

Output:
Sum = 20.000000

                                                                    That's All
Please Share it! :)
Do you like this Story?

Get Free Email Updates Daily!

Follow us!

27 comments:

  1. write a program to check whether a number entered by user is prime or not using function with no arguments but having return value

    ReplyDelete
  2. write a program to check whether a number entered by user is prime or not using function with no arguments but having return value

    ReplyDelete
  3. Great post, very informative. I wonder why the other experts of this sector do not notice this. You must continue your writing. I’m sure, you have a great readers’ base already! You can also check ICE GATE INSTITUTE for Best GATE classes In Ahmedabad.

    ReplyDelete
  4. Gate IIT Bangalore provides GATE, PGCET, PSU, IES, CSIR NET, UGC NET, IIT JEE MAIN, PRE-MEDICAL ENTRANCE TEST, AIPMT, Aptitude Coaching and RRB Coaching in Bangalore. cet crash course bangalore

    ReplyDelete
  5. I am Sanjana From Mumbai Escorts Provided Services In Bandra, Andheri, Juhu

    Mumbai Escorts

    Juhu Escorts

    Andheri Escorts

    Bandra Escorts

    ReplyDelete
  6. I like your post....Thanks for your valuable information, It's really helpful information .. iit jee coaching classes in bangalore

    ReplyDelete
  7. I would love to disclose to all of you about me I am a decent girl who loves to inspire and I can be a quick girl and that can make you have an inclination that you are with a super lady I might want to reveal to you how I concentrated
    http://www.dial4callgirls.in/
    http://www.dial4callgirls.in/foreigner.html
    http://www.prettycallgirls.in/gurugram.html

    ReplyDelete
  8. how I am a man who can take you to any level of fulfillment I would be the kind darling you are coveting I think you should know every little thing about me I have been regarded a ton and subsequent to being with me you would regard me more
    http://www.callme4escorts.in/
    http://www.callme4escorts.in/services.html
    http://www.callme4escorts.in/foreigner.html
    http://www.tiya-karna.in/
    http://www.tiya-karna.in/services.html
    http://www.tiya-karna.in/russian-escorts-goa.html

    ReplyDelete
  9. I would be informing you everything concerning me when you are with me however I think you would love to think about me before you meet me you can be guaranteed that I am a fine lady with extraordinary components and an exquisite grin to coordinate
    http://aaditi.in/
    http://www.chiggy-wiggy.com/agra.html

    ReplyDelete
  10. coordinate I am a fine refined lady who is extremely instructed and this is the thing that gives me the preferred standpoint over other lady who are similarly excellent I have constantly taken incredible care of my body and my teeth
    http://aaditi.in/ajmer-escorts.html
    http://aaditi.in/siliguri.html
    http://aaditi.in/pushkar.html

    ReplyDelete
  11. I am a man who can be the lady you need to spend each day and night with I would give you the important time you are seeking with a lady and the fun you can have with me is the thing that I would love to reveal to you
    http://aaditi.in/udaipur.html
    http://www.chiggy-wiggy.com/udaipur.html

    ReplyDelete
  12. I get a kick out of the chance to be fulfilled and you can be the man whom I could always remember my magnificence knows no limits I am an advocated proficient who can be the best and furthermore
    http://aaditi.in/jodhpur.html

    ReplyDelete
  13. I never fall sick and I don't have any off days this sort of meeting is best had in a rich inn and that is the place I might want to meet you I would feel that I am the girl you will be with
    http://www.aadia-shah.com/indore-escorts.html
    http://www.chiggy-wiggy.com/indore.html

    ReplyDelete
  14. with I jump at the chance to be the delicate girl everybody recollects and my gentility is somewhat on top of my identity which has been created and improved extraordinarily by my folks who knew how to raise an attractive yet wonderful lady
    http://www.aadia-shah.com/surat-escorts.html
    http://www.chiggy-wiggy.com/surat.html
    http://www.aarohiarora.in/

    ReplyDelete
  15. I can disclose to you significantly more about myself I am a girl who might be the secret you are passing on to investigate my eyes would set you ablaze and my lips would show you how to kiss
    http://www.aadia-shah.com/ahmedabad-escorts.html
    http://www.chiggy-wiggy.com/ahmedabad.html

    ReplyDelete
  16. I can likewise reveal to you that the body and the magnificence I can demonstrate you is not something you would discover effortlessly on the off chance that you go out looking
    http://www.aadia-shah.com/kanpur-escorts.html
    http://www.chiggy-wiggy.com/kanpur.html

    ReplyDelete
  17. I am a wonder who knows a great deal about the sort of things we are kicking the bucket to do I would be the lovely girl who is the spotlight of a gathering I am a hypnotizing lady
    http://www.chiggy-wiggy.com/cochin.html
    http://www.chiggy-wiggy.com/coimbatore.html
    http://www.chiggy-wiggy.com/faridabad.html

    ReplyDelete
  18. I am effectively energized as I see something I have never observed I cherish the name I have and you might surely adore all that I want to reveal to you I want to make you feel the delicate quality
    http://www.prettycallgirls.in/
    http://www.samairaahuja.com/
    http://www.samairaahuja.com/blogs.html
    http://www.samairaahuja.com/services.html

    ReplyDelete