This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 1 year, 11 months ago.

  • Author
    Posts
  • #743033 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    Consider the following program segment:
    {
    int x, i, j ;
    x = 0 ;
    for (i = 0; i <19; i++)
    for (j = i + 1; j <20; j++)
    x ++;
    }
    The value of x after executing the segment is

    Options :-

    1. 171
    2. 190
    3. 342
    4. 380
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: Consider the following program segment:{int x, i, j ;x = 0 ;for (i = 0; i <19; i++)for (j = i + 1….
Your information:




GET UPTO 50%    OFF!
Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account