if we have class like this :
class P {
public :
int example ();
}
the definition for example() is :
int P::example () {
int array [] = {1,2,3,4};
return array;
}
is this allowed if i re-assign array like this :
int M = array.example() .
because i want M take the values of this array
array[i].exampleand be like this M[i] and all values of
array[i].exampleinside
M[i];
plz guys help ...

New Topic/Question
Reply




MultiQuote





|