Computer Science Degree Courses

C Sharp App's Tests

C Sharp e-Book's MCQs - Complete

Boolean Logic MCQ App & e-Book Download - 5

MCQ:

The output for following code will be
static void Main(string[] args) { int a = 3, b = 5, c = 1; int z = ++b; int y = ++c; b = Convert.ToInt32((Convert.ToBoolean(z)) && (Convert.ToBoolean(y)) || Convert.ToBoolean(Convert.ToInt32(!(++a == b)))); a = Convert.ToInt32(Convert.ToBoolean(c) || Convert.ToBoolean(a--)); Console.WriteLine(++a); Console.WriteLine(++b); Console.WriteLine(c); }

  1. 2 ,2 ,1
  2. 2 ,0 ,9
  3. 2 ,2 ,2
  4. 2 ,3 ,2

More MCQs from C Sharp Textbook

Boolean Logic Learning App: Free Download Android & iOS

The App: Boolean Logic MCQ App to learn Boolean Logic Textbook, C Sharp MCQ App, and Global Warming MCQ App. The "Boolean Logic" App to free download iOS & Android Apps includes complete analytics with interactive assessments. Download App Store & Play Store learning Apps & enjoy 100% functionality with subscriptions!

Boolean Logic App (Android & iOS)

Boolean Logic App (Android & iOS)

C Sharp App (Android & iOS)

C Sharp App (iOS & Android)

Global Warming App (Android & iOS)

Global Warming App (Android & iOS)

Basic Electronics App (Android & iOS)

Basic Electronics App (iOS & Android)