Question: 1- When you use a number such as 45 in a C# program, the number is a a. Liberal constant b. Figurative constant c. Literal

 1- When you use a number such as 45 in a

1- When you use a number such as 45 in a C# program, the number is a a. Liberal constant b. Figurative constant c. Literal variable d. Figurative variable A variable declaration must contain al1 of the following except a(n) a. Data type b. Identifier c. Assigned value d. Ending semicolon Which of the following is true of variable declarations? 3. Two variables of the same type can be declared in the same statement. a. b. Two variables of different types can be declared in the same statement. Two variables of the same type must be declared in the same statement. c. d. Two variables of the same type cannot coexist in a program. Assume that you have two variables declared as int var 1-3; and in 8.. Which of the following would display 838? 4. var2 = a.writeLine("0) 1) 2", varl, var2); b.writeLine("(O (1) (oj", varl, var2); C.WriteLine(" O) 1 2", var2, varl); d.writeLine(" (0) (1) (o)", var2, varl); 5.Assume that you have a variable declared as int varl3..Which of the following would display X3X? a. WriteLine ( "X10X", var1); b. WriteLine ("X0,2)x", var1) C. WriteLine ("Xf2 , 0}X", var1); d.writeline ("X10)(2)", var1); 6. Assume that you have a variable declared as int var1 = 31: what is the value of 22 % var C. d. 21

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!