Re: HCL interview questions can any one say solution for it



On Mon, 25 Sep 2006 15:05:50 +0000, Richard Heathfield
<invalid@xxxxxxxxxxxxxxx> wrote in comp.lang.c:

Michael Mair said:

jmcgill schrieb:

First, what is an HCL interview?

An interview by the Holy C League. About as expected as the
Spanish Inquisition.

But... but...?!?

Our two chief weapons are: undefined behavior, casting the return
value of malloc(), and void main()...

Wait...

Our three chief weapons are: undefined behavior, casting the return
value of malloc(), void main(), modifying an object twice without an
intervening sequence point...

Wait...

Out four chief weapons are...

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
.



Relevant Pages

  • Re: Puzzling program
    ... I was asked in an interview to explain the behavior of this program. ... The illiterate return type 'void' for main makes all bets off. ... and understanding the probable explanation for the ...
    (comp.lang.c)
  • Re: Puzzling program
    ... I was asked in an interview to explain the behavior of this program. ... Given the above criteria (little-endian, 32-bit ints), what ... s is not properly aligned for an int. ... The system does not support the non-standard "void main". ...
    (comp.lang.c)
  • Re: Which is correct: "I appreciate you..." or "I appreciate your..."
    ... void wrote: ... "I appreciate your taking the time to speak with me." ... When I said "interview," I meant a job interview. ...
    (alt.usage.english)
  • Re: without loop printing 1 to n
    ... Asked in interview ... ... void foo{ ...
    (comp.lang.c)
  • Re: Which is correct: "I appreciate you..." or "I appreciate your..."
    ... void wrote: ... "I appreciate your taking the time to speak with me." ... "Your participation in this survey has contributed strongly to ...". ... When I said "interview," I meant a job interview. ...
    (alt.usage.english)