Aspire Faculty ID #12668 · Topic: JECA MCA 2024 · Just now
JECA MCA 2024

What is the output of the C-program? int main(){ int i=0; while(i=0) printf("True"); printf("False"); }

Solution

Solution: while(i=0) assigns 0 ⇒ condition false ⇒ loop not executed. Prints "False".
Answer: (C) False

Previous 10 Questions — JECA MCA 2024

Nearest first

Next 10 Questions — JECA MCA 2024

Ascending by ID
Ask Your Question or Put Your Review.

loading...