Practice Computer Science MCQs From Textbooks
Download Boolean Logic Notes App | C Sharp PDF e-Book
C Sharp Entry Tests: Certification Test 5
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);
}
The App: Boolean Logic Notes App to learn Boolean Logic Notes, C Sharp Notes App, and MCQsLearn: All-in-One Courses Notes App. The "Boolean Logic Notes" App to Free Download C Sharp Apps (iOS & Android) for programming certifications. Download App Store & Play Store Learning Apps with all functionalities for IT certifications.