1.Given the following
code, what would be the output? int a, c; float b; a=9; b=3.4f; c=a+b; Console.
Write(c) n
(1 Point)
12.4
Error
can't add numbers of different types
12
0.4
2.We can use reserved
keywords as identifiers in C#?
(1 Point)
True
False
Sometimes
true sometimes false
3.Which of the
following operator represents a conditional operation in C#?
(1 Point)
?
:
is
as
*
4.Which of the
following access specifier in C# allows a class to hide its member variables
and member functions from other class objects and functions, except a child
class ((within the same application)) ?
(1 Point)
Protected
Internal
Protected
Private
Public
Get Free Quote!
449 Experts Online