1.

Which of following is not accepted in C?(a) static a = 10; //static as(b) static int func (int); //parameter as static(c) static static int a; //a static variable prefixed with static(d) all of the mentionedThe question was asked by my school teacher while I was bunking the class.My question is based upon Static Variables in division C Functions and Structure of a Program of C

Answer» CORRECT choice is (c) STATIC static int a; //a static variable prefixed with static

Best EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions