Data member placement in a class. Where to place and what is the importance of that placement ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Data member placement in a class. Where to place and what is the importance of that placement ?

Class c1 | class c1 | class c1 { | { | { int a =10; | public : | public: public: | int a=10; | void main() void display() | void display() |{ { | { | cin>>a; cout<<a; | cout<<a; | cout<<a; } | } | } } | } |

23rd Jul 2017, 4:31 PM
Sai Yerni Akhil
Sai Yerni Akhil - avatar
0 Answers