Indicate the correct initialization of the follow variables 'a' and 'b':

Indicate the correct initialization of the follow variables 'a' and 'b':


a. int a = 12, b = 20.5;
b. int a = 12; b = 20;
c. int a = 12; int b = 20;
d. int a = b = 12;


Answer: a. int a = 12, b = 20.5;


Learn More :