Home / MCQ Bank / Computer
Computer Operators And Expressions In C Sharp

What is the value of the expression 20 % 3 in C#?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • 2

Related Computer Questions

What will be output of the following program code? public class Test{ public static void main(String[] a){ short x = 10; x = x*5; System.out.print(x); } } What will be the output of the following C code? #include <stdio.h> int main() { int x = 2, y = 0; int z = (y++) ? y == 1 && x : 0; printf("%d\n", z); return 0; } Literal can be of which of these data types? Which of the following function creates a CSS gradient image that can be used anywhere an image URL is required, including background-image, border-image, and list-style properties? What will be the output of the following C++ code? #include <iostream> using namespace std; class Test1 { }; class Test2 : public Test1 { }; void Funct(); int main() { try { Funct(); } catch (const Test1&) { cerr << "Caught a exception" << endl; } return 0; } void Funct() { throw Test2(); }