Online Computer Science Courses

Android Practice Tests

Learn Online Android Frequently Asked Questions

C Programming Frequently Asked Questions PDF

Books:

Apps:

The MCQ By evaluating the following statement where x=25.0 and y=15.0 `if (y < 15.0 && y >= 0.0)x = 5 * y;elsex = 2 * y; `, the value of x is: 30, 45, 60 and 75 PDF, "C Programming Frequently Asked Questions" App Download (Free) for online software engineering degrees. Practice c programming frequently asked questions quiz questions, download Google eBook (Free Sample) for associates in computer science.

Android MCQs: C Programming Frequently Asked Questions

MCQ 1: By evaluating the following statement where x=25.0 and y=15.0 `if (y < 15.0 && y >= 0.0)x = 5 * y;elsex = 2 * y; `, the value of x is

A) 30
B) 45
C) 60
D) 75

MCQ 2: By evaluating the following statement where x=25.0 and y=15.0`if (y < 15.0){ if (y >= 0.0) x = 5 * y; else x = 2 * y;}else x = 3 * y;` , the value of x is

A) 15
B) 30
C) 45
D) 75

MCQ 3: By evaluating the following statement ` if (12 < 12 ) printf("less");elseprintf("not less")};` , the output is

A) less
B) not less
C) LESS
D) NOT LESS

MCQ 4: By evaluating the following statement where var1=25.12 and var2=15.00 `if (var1 <= var2)printf("less or equal/n");elseprintf("Greater then\n")};` , the output is

A) less or equal
B) Greater then
C) less or equal Greater then
D) Compiler error

MCQ 5: By evaluating the following statement where x=25.0 and y=15.0 `if (y!= (x-10.0))x = x - 10.0;elsex = x / 2.0;`, the value of x is

A) 25
B) 12
C) 15
D) 12.5

C Programming Frequently Asked Questions Learning App & Free Study Apps

Download C++ MCQs App to learn C Programming Frequently Asked Questions MCQs, Technical Writing Quiz App, and MCQsLearn: All-in-0ne Courses MCQ App (Android & iOS). The free "C Programming Frequently Asked Questions MCQs" App includes complete analytics of history with interactive assessments. Download Play Store & App Store learning Apps & enjoy 100% functionality with subscriptions!

ALL-in-ONE Learning App (Android & iOS)

C++ App (Android & iOS)

Technical Writing App (Android & iOS)

MCQsLearn: All-in-0ne Courses App (Android & iOS)

``` ```
``` General Home Site Map Privacy Policy Affiliate Disclosure Contact Us Social Links Facebook Twitter YouTube Mobile Apps Android iOS As an Amazon Associate I earn from qualifying purchases. MCQsLearn Web Portal Copyright © 2014-2024. All rights reserved. function checkAttempt(element, number) { var answer = document.getElementById("answer-" + number).innerHTML; var options = Array.from(document.getElementsByClassName("option-" + number)); if (answer == element.id.split("-")[0]) { element.classList.add("correct-option"); options.forEach(function (option) { option.classList.add("disabled"); }); } else { element.classList.add("wrong-option"); options.forEach(function (option) { option.classList.add("disabled"); if (answer == option.id.split("-")[0]) { setTimeout(function () { option.classList.add("correct-option") }, 500); } }); } } var button = document.getElementById("mega-one"); var menu = button.nextSibling.nextSibling; button.addEventListener("click", function () { if (menu.style.display == "block") { menu.style.display = "none"; } else { menu.style.display = "block"; } menu.style.top = "61px"; }); var mobileBtn = document.querySelector("button.navbar-toggler"); var mobileMenu = mobileBtn.nextSibling.nextSibling; mobileBtn.addEventListener("click", function () { if (mobileMenu.classList.contains("show")) { mobileMenu.classList.remove("show"); } else { mobileMenu.classList.add("show"); } }); var innerMobileBtn = document.querySelectorAll("a.nav-link.dropdown-toggle.mobile-nav-link"); innerMobileBtn.forEach(function (item, index) { var innerMobileMenu = item.nextSibling.nextSibling; item.addEventListener("click", function () { var allMobileMenus = document.querySelectorAll("div.dropdown-menu.mega-area"); innerMobileBtn.forEach(function (item2, index) { item2.firstChild.style.transform = "rotate(0deg)"; }); allMobileMenus.forEach(function (item2, index) { if (item2.innerHTML != innerMobileMenu.innerHTML) { item2.style.display = "none"; } // item.firstChild.style.transform = "rotate(0deg)"; }); if (innerMobileMenu.style.display == "block") { item.firstChild.style.transform = "rotate(0deg)"; innerMobileMenu.style.display = "none"; } else { item.firstChild.style.transform = "rotate(90deg)"; innerMobileMenu.style.display = "block"; } }); }); ```