Home » C# Programming » Datatypes

Which of the following are the correct way to initialise the variables i and j to a value 10 each? int i = 10; int j = 10; int i, j; i = 10 : j = 10; int i = 10, j = 10; int i, j = 10; int i = j = 10;

Correct Answer: 1, 3

← Previous Question Next Question→

More Questions from Datatypes

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion