@keskiverto -
Sorry for the mistake in terms. I do that often even though i know the difference xP
And as a rule both school and home IDE's follow the Row Major convention. But only in few programs the compiler(Xcode) seems to function on a column major form, i.e. only then do I get the desired output.
Of course, it may also be a logical error on my part and i'll recheck the code for any mistakes although I'm pretty sure there is no error. If the problem still persists i'll paste the code-desired output- and actual output here!!
Until then, Thank You so much for the help !
Regards,
Sid P.