locked
Which of the following is incorrect[explain] RRS feed

  • Question

  • Which of the following is incorrect[explain]
    a) if a and b are defined as int arrays then (a==b) can never be true
    b) parameters are passed to functions only by values
    c) defining functions in nested loops
    Sunday, October 14, 2007 5:55 AM

All replies

  • (b) is incorrect.

     

    parameters are also passed by reference.

     

     

    Sunday, October 14, 2007 10:26 AM

  • b is incorrect bcoz the parameters can  b passed in args n reference also...
    Monday, October 22, 2007 7:40 AM
  • offcource (b) is incorrect coz values can be pased to a function using following methods.

    1.pass by value n

    2.pass by reference.

    Friday, November 2, 2007 12:56 PM