Given the following seqment of code containing a group of
nested if instructions: y = 9; if ((x==3) || (x == 5)) y++;
else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8;
if the value of x is 4 before the nested IFs are executed,
what is the value of y after the nested IFs are executed?
No Answer is Posted For this Question
Be the First to Post Answer
What is time_t c++?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
What is the Difference between "printf" and "sprintf"?
7 Answers iSoft, PentaWare, TCS,
What is pure virtual function? Or what is abstract class?
What is a pdb file?
What is the difference between an external iterator and an internal iterator?
what is Loop function? What are different types of Loops?
reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it
What are maps in c++?
what is difference between static and non-static variables
What jobs can you get with a c++ certification?
What is an incomplete type?