0
Y the out put change
4 Answers
+ 1
What do you mean?
0
justĀ takeĀ what'sĀ onĀ theĀ lineĀ before"scanf"Ā andĀ you'reĀ done
0
Output will always be "giri" because the variable x has wrong type.
To output "vgs" variable x should be equal to 40000000000 but as it has type int this will never happen. int max value is 2147483647. As a result k always will be zero.
Chage type of variables in line #4 to
long long int x,z,k;
and fix size of format specifier in line #6 to
scanf("%lld",&x);
0
Tank u andriy