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;

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!