Any C expert out there could explain in detail about what different between STATIC function and
non-STATIC function?
For example in the file, Display.c, below
#include <stdio.h>
#include "display.h"
/* prototypes */
static void showA(); /*this is static function*/
void showB(); /*this is non-static fun.*/
/* function definition */
static void showA()
{
printf("Hola, I am from the Moon!");
}
void showB()
{
printf("Hello!, I am from Mercury planet");
}
Thank you in advance.
DV007