Which among following is the correct syntax to declare a static variable register?

Which among the following is the correct syntax to declare a static variable register?

Which among the following is the correct syntax to declare a static variable register? mcq and its answer is provided on this page.

Which among the following is the correct syntax to declare a static variable register?

Que. Which among the following is the correct syntax to declare a static variable register?
a. a) static register a;
b. b) register static a;
c. c) Both static register a; and register static a;
d. d) We cannot use static and register together
Answer: d
Explanation : None.


Comments