Ask Experts Questions for FREE Help !
Ask
    Mathematica's Avatar
    Mathematica Posts: 7, Reputation: 1
    New Member
     
    #1

    Feb 9, 2009, 09:42 PM
    is this statement true or false ?
    The following function declaration guarantees the values in the array argument are not changed.

    void function1(int array[ ], int numElements);
    Ribbonic Plague's Avatar
    Ribbonic Plague Posts: 19, Reputation: 2
    New Member
     
    #2

    May 21, 2009, 01:13 AM

    Err why don't you have a think about it

    Hint: if I try this:

    array[0] = 4;

    would that change the 1st value of your array?
    shihouzhuge's Avatar
    shihouzhuge Posts: 131, Reputation: 6
    Junior Member
     
    #3

    Oct 6, 2009, 09:51 PM
    Quote Originally Posted by Mathematica View Post
    The following function declaration guarantees the values in the array argument are not changed.

    void function1(int array[ ], int numElements);
    You should write the function1 by this:

    Int array[20];
    Void function1(array,int numElements)

    If there's array[],you couldn't use '[]' inside the function()

    I don't know if you get the point...
    Good luck!

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

True or false? [ 4 Answers ]

If the demand for money increases and the Fed wants to target interest rates, The money supply will have to increase. True or false?

True or false? [ 1 Answers ]

Inflation must be subtracted from the real interest rate to calculate the nominal interest rate. true or false?

True or false [ 5 Answers ]

True or false The Colt six-shooter was of little use in fighting the comanche and kiowa.

True or false [ 21 Answers ]

If u ask a loved 1 a question in their sleep... and they answer! Is that answer true or false? Any ideas.


View more questions Search