Like Tree1Likes
  • 1 Post By Salem

C/C++ Interview Programming Questions

This is a discussion on C/C++ Interview Programming Questions within the C Programming forums, part of the General Programming Boards category; C 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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,451
    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.
    manasij7479 likes this.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,620
    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, 11:40 AM
  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, 07:10 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21