debugging questions

Light Poster
15Jan2009,20:50   #1
magk123's Avatar
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
Light Poster
15Jan2009,21:55   #2
magk123's Avatar
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
Mentor
15Jan2009,22:41   #3
xpi0t0s's Avatar
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?
Light Poster
15Jan2009,22:44   #4
magk123's Avatar
nooooooo ur mistaken............. i need questions for C DEBUGGING............. for an event in my coll.......... get me now?
Mentor
15Jan2009,22:55   #5
xpi0t0s's Avatar
I'm mistaken. That's rich. What is a "question for C debugging"? Can you give an example of one?
Light Poster
15Jan2009,23:02   #6
magk123's Avatar
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
Light Poster
15Jan2009,23:22   #8
magk123's Avatar
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
Newbie Member
25Aug2009,23:06   #9
muthu4love's Avatar
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