CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: andraesatchell

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    2,121

    Return int

    int result = 15/2;
    is it that result will now be 7 or 7.5. based on my understanding it will be 7. since it is returning an integer. am I correct to say that the .5 will be discarded.
  2. Replies
    8
    Views
    5,154

    Re: Trace table for an array

    My apology for doing same. I have made the amendment. Thats a valid point you made.thanks again for everything
  3. Replies
    8
    Views
    5,154

    Re: Trace table for an array

    Thanks again. Your assistance was greatly appreciated.
  4. Replies
    8
    Views
    5,154

    Re: Trace table for an array

    understand. so track will always be 0 since there is no incrementation in the code, so it will always be adding 3 to marr [0]
  5. Replies
    8
    Views
    5,154

    Re: Trace table for an array

    Thank you for the clarification

    marr[track] = marr[track] + 3; enters the while loop, track will be 0, marr[track] will be marr[3]

    is this part correct. is it I should add 3 +23 or 0+3
  6. Replies
    8
    Views
    5,154

    Trace table for an array

    So far I realize that when it enters the while loop, track will be 0, marr[track] will be marr[3]. is this correct or will 23+3 be the correct understanding. Does this mean it will be a infinite loop...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured