What's static function for in c?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-05-02T03:43:05Z Indexed on 2010/05/02 3:47 UTC
Read the original article Hit count: 215

Filed under:
|

I only see static methods by which we don't need to instantiate a class to call the method.

What's the purpose of a static function?

static GtkWidget *
create_bbox (gint  horizontal,
         char *title, 
         gint  spacing,
         gint  layout)
{
...
}

© Stack Overflow or respective owner

Related posts about c

    Related posts about static