Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

file static data

 

 

What is the difference in the following two statements?

 

static int A=0;

static int A(0);

 

 

 

0 Kudos
Message 1 of 2
(6,346 Views)
Those are just two different ways of initializing your variable A to 0. There isn't a difference between the two.
Message 2 of 2
(6,333 Views)