Dear all,
I am learning C language.
I got the following problem while running the problem.
Program:
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
main()
{
int x;
for (x = 1; x <= 250; x ++)
printf("x = %d\n", x);
}
OUTOUT should be:
x = 1
x = 2
x = 3
x = 4
|
|
|
|
|
x = 249
x = 250
After running the program, i get the true output also, but all 250 lines are not printed in the output. There are only 50 Lines are printed in the output.
Means I get the output as below.
OUTPUT:
x = 201
x = 202
x = 203
x = 204
|
|
|
|
|
x = 249
x = 250
Then, where the lines above 200 gone...?
Can anybody help me to check "How can i see the entire output (Black screen -Dos)?
Thanks and Regards,
Nakul Pancholi