Thread: C/C++ Interview Programming Questions

  1. #1
    Registered User
    Join Date
    Oct 2011
    Location
    Bangalore, India, India
    Posts
    2

    Cool C/C++ Interview Programming Questions


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Mmm, another "look at my blog full of errors" post.

    For example, all the sizeof(foo) answers which you have are actually implementation-defined.
    Try compiling them on a 64-bit machine.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    What is this blog, a "Test your C compiler" one?! Much of the code, for example "i++ + ++i", is implementation-defined.
    Devoted my life to programming...

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Another Tubo C throwback...

    20 years out of date... and counting.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C interview questions
    By natrajdreams in forum C Programming
    Replies: 7
    Last Post: 12-12-2010, 12:40 PM
  2. Some Interview questions, please help
    By higaea in forum C++ Programming
    Replies: 5
    Last Post: 03-29-2010, 06:35 AM
  3. interview questions
    By mixalissen in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 05-03-2008, 02:00 PM
  4. Replies: 3
    Last Post: 06-17-2005, 02:52 AM
  5. Interview questions
    By Stony in forum Tech Board
    Replies: 0
    Last Post: 11-11-2002, 08:10 PM

Tags for this Thread