The HackerEarth facebook page uploads MCQs like these everyday! So, I suppose that I can share this image here. It seems to me like its a compilation error! Because of the fact that there is a statement the post-increments the char
array a
in the for
loop!
But last 2 statements::
<p<<k
}
Are they valid in any way? < & > are converted to > < etc This link says that <
gets converted to <
! Or is it also a compiler error?
Was just curious because I couldn't trust myself that a compilation error as an extra closing bracket and a <p<<k;
statement could be there in a question!