#include <stdio.h> #include <string.h> static void sayHello(); static void salute(); void sayHello(){ const char *m = "func_pointer "; printf(m); printf("%d ", strlen(m)); } void salute(){ printf("I love ella "); } int main(int argc, char **argv){ printf("%d ", argc); void (*func)(); if(argc == 1) func = sayHello; else func = salute; (*func)(); }