Which among the following is wrong syntax related to static data members?
A. className :: staticDataMember;
B. dataType className :: memberName =value;
C. static dataType memberName;
D. className : dataType -> memberName;
Answer:D
Which among the following is wrong syntax related to static data members?
A. className :: staticDataMember; B. dataType className :: memberName =value; C. static dataType memberName; D. className : dataType -> memberName;