Which of the following is correct way to initialize a variable-03200
Which of the following is correct way to initialize a variable x of int type with value 10?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.11.
Which of the following is correct way to initialize a variable x of int type with value 10?
int x ; x = 10;
int x = 10;
int x, x = 10;
x = 10;