Which is the correct syntax for declaring static data member?
A. static mamberName dataType;
B. dataType static memberName;
C. memberName static dataType;
D. static dataType memberName;
Answer:D
Which is the correct syntax for declaring static data member?
A. static mamberName dataType; B. dataType static memberName; C. memberName static dataType; D. static dataType memberName;