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

void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..

32 Answers   College School Exams Tests, CTS, HCL, iGate, SmartData,


Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .

3 Answers  


Write a c-programe that input one number of four digits and find digits sum?

2 Answers  


Write a program to accept two strings of Odd lengths. Then take all odd characters from one string and even characters from the other and concatenate and produce a string.

1 Answers  


How to create a program that lists countries capitals when country is entered? (Terribly sorry, I'm a complete novist to coding with C, am looking for inspiration and general tips on how to code and create this program.)

0 Answers  






how tally is useful?

2 Answers  


What is the code for following o/p * * * * * * * * * * * * * * * *

1 Answers  


void main() { int i=5; printf("%d",i+++++i); }

14 Answers   HCL,


void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?

24 Answers   HCL,


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 ?

1 Answers  


what is run time error?

7 Answers  


loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program.

5 Answers   CMC,


Categories