Sorry the only word I could get from that is problem, is that possibly the answer?
Visual basic can not create games by itself. You will need an engine such as opengl. It is VERY VERY HARD. It needs a physics engine too. Many game developers use c#. Don't use a programmming language that is 'visual'. People who make the engines don't make them for visual basic.
Learn something like c#
Answer:
The code will display the following on the screen:-
2
0
2
Explanation:
The output is like this because x{2} assigns the value 2 to the integer x.First the value of x is printed on the screen that is 2 and that newline is used to go to the next line.After that function is called doSomething with x passed as the argument. doSomething function assigns the value zero to the variable passed and prints it on the screen.So the next line is 0.Since x is passed by value so no changes will appear in the original argument.Hence the last line printed is 2.