debugging questions

magk123's Avatar, Join Date: Jan 2009
Light Poster
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
magk123's Avatar, Join Date: Jan 2009
Light Poster
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
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
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?
magk123's Avatar, Join Date: Jan 2009
Light Poster
nooooooo ur mistaken............. i need questions for C DEBUGGING............. for an event in my coll.......... get me now?
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
I'm mistaken. That's rich. What is a "question for C debugging"? Can you give an example of one?
magk123's Avatar, Join Date: Jan 2009
Light Poster
1.void main()
{
int const * p=5;
printf("%d",++(*p));
}
Answer:
Compiler error: Cannot modify a constant value.
Explanation:
p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".


i think tis cud make u get wat i need
magk123's Avatar, Join Date: Jan 2009
Light Poster
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
muthu4love's Avatar, Join Date: Aug 2009
Newbie Member
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