Datatypes - Programming

Q1:

Which of the following are the correct way to initialise the variables i and j to a value 10 each?
  1. int i = 10; int j = 10;
  2. int i, j;
    i = 10 : j = 10;
  3. int i = 10, j = 10;
  4. int i, j = 10;
  5. int i = j = 10;

A 2, 4

B 1, 3

C 3, 5

D 4, 5

ANS:A - 2, 4

No answer description is available. Let's discuss.