1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

debugging questions

Discussion in 'C' started by magk123, Jan 15, 2009.

  1. magk123

    magk123 New Member

    Joined:
    Jan 15, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    hello guys.......... i need ur help on some effective debugging questions............. i need them for a competetion in my college.............so i wud be greatful for any help from ur side :happy:
     
  2. magk123

    magk123 New Member

    Joined:
    Jan 15, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    hi guys i need some questions for c debugging.......... can u help me wit some links r questions...........whichever.......i wud be greatful if u cud mail it my id
    magk.mahesh@gmail.com
     
  3. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    I don't understand what you're asking. How do you debug a question?

    Or do you mean you have some questions that need answering, and instead of asking those questions you're taking a rather cryptic route of asking us first if we can answer the questions without knowing what those questions are?

    If it's for a competeteteteioioteteion, who gteteteetetees the prize if you win? Do we get it; will you donate to the site, or is the plan that we do all the hard work and let you take the money?
     
  4. magk123

    magk123 New Member

    Joined:
    Jan 15, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    nooooooo ur mistaken............. i need questions for C DEBUGGING............. for an event in my coll.......... get me now?
     
  5. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    I'm mistaken. That's rich. What is a "question for C debugging"? Can you give an example of one?
     
  6. magk123

    magk123 New Member

    Joined:
    Jan 15, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    [FONT=&quot]1.[FONT=&quot] [/FONT][/FONT][FONT=&quot]void main()[/FONT]
    [FONT=&quot]{[/FONT]
    [FONT=&quot] int const * p=5;[/FONT]
    [FONT=&quot] printf("%d",++(*p));[/FONT]
    [FONT=&quot]}[/FONT]
    [FONT=&quot]Answer:[/FONT]
    [FONT=&quot] [/FONT][FONT=&quot]Compiler error: Cannot modify a constant value. [/FONT]
    [FONT=&quot]Explanation[/FONT][FONT=&quot]: [/FONT]
    [FONT=&quot]p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".[/FONT]


    i think tis cud make u get wat i need
     
  7. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
  8. magk123

    magk123 New Member

    Joined:
    Jan 15, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    thanks a lot mr shabbir......... i guess tis will be enough for now.......... ill look into it n if i need more then im sorry ill have to cme back to u :happy:
     
  9. muthu4love

    muthu4love New Member

    Joined:
    Aug 25, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hi friends i am new to the forum.can you give a bulk of debugging questions in c,c++ & java which will make me easy to prepare for competitive exams.i will be grateful to u if u sent the questions to rmuthu18@yahoo.com
     

Share This Page