1.

What is the meaning of using static before function declaration?For example following function sum is made staticstatic int sum(int x, int y, int z){ return (x + y + z);}(A) Static means nothing, sum() is same without static keyword.(B) Function need not to be declared before its use(C) Access to static functions is restricted to the file where they are declared(D) Static functions are made inline

Answer»


Discussion

No Comment Found

Related InterviewSolutions