Question:

What is a function modifier in c++?

by  |  earlier

0 LIKES UnLike

Throughout my classes and hobbyist programming activities, now and then I run into function modifiers. I've never taken the time to look into them. What are they? What do they do? And how are they written? Is it a call to another function to check the output Of the first function? Many thanks!

 Tags:

   Report

1 ANSWERS


  1. Dude you've know and used function modifiers along the way in C/C++; basically they are the keywords that come before the function's name. Example  in the function:

    public static void foo ( )

    {

    }

    "public" and "static " are modifiers for the function called foo() , because they add " more meaning " to it .

    Good luck !

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.