3rd Apr 2020, 7:16 AM
Giri Vgs
Giri Vgs - avatar
4 Respostas
+ 1
What do you mean?
3rd Apr 2020, 7:19 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
just take what's on the line before"scanf" and you're done
3rd Apr 2020, 7:53 AM
Marco
Marco - avatar
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);
3rd Apr 2020, 8:36 AM
andriy kan
andriy kan - avatar
0
Tank u andriy
3rd Apr 2020, 8:41 AM
Giri Vgs
Giri Vgs - avatar