You Can Modify the function CallFuns To void CallFuns( void (*f1)(), void (*f2)() , void (*f3)()) { if(f1) (*f1)(); if(f2) (*f2)(); if(f3) (*f3)(); } Now you will be able to pass NULL pointers too. ------------------------------- Muralidhar