How to upgrade LOOP environment,
I just mean, how can i make loop statement editable ?
I just try some program using loop statement and checking it
in multiple compilers.
Every compiler showing different output, what's the wrong ?
is it a compiler based problem, or loop based problem, tell
me why ?
and what will be the debugging process, for this kind of
problem ?



How to upgrade LOOP environment, I just mean, how can i make loop statement editable ? I just try ..

Answer / xxxxxx

You know very well , Different processors executes instructions differently. Thats why you are getting different outputs for different outputs.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C C++ Errors Interview Questions

what are the techniques for reducing the fragility of a memory bug?

1 Answers  


#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }

12 Answers   HCL,


2. A student studying Information Technology at Polytechnic of Namibia is examined by coursework and written examination. Both components of assessment carry a maximum of 50 marks. The following rules are used by examiners in order to pass or fail students. a. A student must score a total of 40% or more in order to pass (total = coursework marks + examination marks) b. A total mark of 39% is moderated to 40% c. Each component must be passed with a minimum mark of 20/50. If a student scores a total of 40% or more but does not achieve the minimum mark in either component he/she is given a technical fail of 39% (this mark is not moderated to 40%) d. Grades are awarded on marks that fall into the following categories. Mark 100-70 69-60 59-50 49-40 39-0 Grade A B C D E Write a program to input the marks for both components (coursework marks out of 50 and examination marks out of 50), out put the final mark and grade after any moderation. [30]

0 Answers  


A sample program using data structure? what is file handling?

0 Answers   TCS,


Why are memory errors hard to debug?

1 Answers  






what is the error in the following code: main() { int i=400,j; j=(i*i)/i; }

4 Answers  


what is meant for variable not found?

3 Answers  


main() { char c; for(c='A';c<='Z';c++) getch(); }

9 Answers  


how to convert decimal to hexadecimal without using arrays just loops

2 Answers  


#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }

19 Answers  


I'm having trouble with coming up with the correct code. Do I need to put a loop? Please let me know if I'm on the right track and what areas I need to correct. I still don't have a good grasp on this programming stuff. Thanks =) The assignment was to write a program using string functions that accepts a coded value of an item and displays its equivalent tag price. The base of the keys: 0 1 2 3 4 5 6 7 8 9 X C O M P U T E R S Sample I/O Dialogue: Enter coded value: TR.XX Tag Price : 68.00

3 Answers   UCB,


errors are known as?

3 Answers   EX, State Bank Of India SBI,


Categories