How to create a function in c ?

Total Post:28

Points:196

 1350  View(s)
Ratings:
Rate this:
Hi,

I want to create function in C++, but how? Can you help me to do this?
If possible then provide line of code.

Any help would be amazing thank you! 
  1. Re: How to create a function in c ?

    Try as following:

    class myclass{
    public:
    show( );
    };
    myclass:: show()
    {
    cout<<"In function\n";
    }

      Modified On Mar-30-2018 03:37:06 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.