Where is the assignment operator used?Here myclass is a class.a) int x,y = x; b) myclass x,y = x; c) myclass x,y(x); d) myclass x,y; x = y

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 10:10:55
Whereistheassignmentoperatorused?Heremyclassisaclass.a)intx,y=x;b)myclassx,y=x;c)myclassx,y(x);d)myc

Where is the assignment operator used?Here myclass is a class.a) int x,y = x; b) myclass x,y = x; c) myclass x,y(x); d) myclass x,y; x = y
Where is the assignment operator used?Here myclass is a class.
a) int x,y = x; b) myclass x,y = x;
c) myclass x,y(x); d) myclass x,y; x = y

Where is the assignment operator used?Here myclass is a class.a) int x,y = x; b) myclass x,y = x; c) myclass x,y(x); d) myclass x,y; x = y
d) could be right.
x is used before init within a,b,c).