We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows 10
VS CODE with c extension gcc version 6.3.0 and online c compiler.
#include<stdio.h>
int main(){
float a[5] = {10.4,44.4,556.55,33.43,55.33}; float *ptr1 = &a[0]; float *ptr2 = ptr1 + 3; printf("%f\n", *ptr2); printf("%f", (int)(ptr2 - ptr1)); return 0;
}
Expected ouput is:- 33.430000 3.0000000
Actual output is:- 33.430000 33.429993
i can't find possible fix
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
OS information
windows 10
VS CODE with c extension gcc version 6.3.0 and online c compiler.
Steps to reproduce
#include<stdio.h>
int main(){
}
More resources
Expected ouput is:-
33.430000
3.0000000
Actual output is:-
33.430000
33.429993
Possible fix
i can't find possible fix
The text was updated successfully, but these errors were encountered: