Re: low-level question



I had this question years ago on a midterm and just seen it on a job
posting.

The company said if you answer the question intelligently then u will
get an interview.

I am not applying, but was curious on what the answers were.

It is undefined behaviour. By saying " Why does the following program
output a 0?", must be a trick.

.



Relevant Pages

  • Re: backslash-issues
    ... > that posting. ... trick does not work. ... Bart ... Prev by Date: ...
    (comp.lang.fortran)
  • Re: Cant enter text into rich edit (not buffer size related)
    ... I should just immediately post these questions, ... inevitably figure out the answer just after posting! ... It was a trick being ... played in the message loop that was causing TranslateMsg not to be called. ...
    (microsoft.public.win32.programmer.ui)
  • Re: Aluminium tube bending and resistance
    ... spring rate. ... F: Force (prev. ... but 0.2mm deflection is quite different to the ...
    (rec.crafts.metalworking)
  • Re: DAO and Access97 WHERE clause fails
    ... That did the trick. ... BTW, I had searched extensivly on line for the answer before posting, but ... was missing the obvious, stupid coding error. ...
    (comp.lang.python)
  • Re: Compiling a console app
    ... That's an interesting trick. ... Thanks for posting it. ... but I haven't had any problems with moving projects to 2008 from 2005. ... but fails if I use the older 2005 one. ...
    (microsoft.public.vc.mfc)