adplus-dvertising
frame-decoration

Question

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).className : dataType -> memberName;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is wrong syntax related to static data members?