Why it happens that even if I consider the negative numbers also the compiler always gives the same message that did you account for negative numbers. If I create an array of type signed long int then I think this should accept the negative numbers also, if I am not wrong.
Always get the same message
yes signed array can accept both +ve and negative numbers
but no need to make signed int
just using int arr[];
yes itβs a predefined message everytime it shows same error