Have you tested that expression and ever see an overflow printed out?
On 2/6/07, pramod negi <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > i think
>
>
> to check whethere the result is overflowed or not
>
> check if ((A+B) -A is not equal to B)
>printf("Overflow");
>
>
> correct in
The way u print a matrix in spiral order, same logic u can use to form the
matrix from given input PROVIDED the order of matrix is given ...
and this can be done in O(m x n) complexity...
--Negi
--~--~-~--~~~---~--~~
You received this message because you ar
>
>
>
> i think
to check whethere the result is overflowed or not
check if ((A+B) -A is not equal to B)
printf("Overflow");
correct in if i m wrong
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google