Multiple Variable Init

 
Hello

My try to init few variables with the same type (int) at once failed.

i.e.:
int v1 = v2 = 0;



Is there any why to do this? Will be good if this type of initiation is allowed.

Ivo

 
no. such notation does not work.
This website uses cookies. Learn more about our Cookies Policy.