Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- double pi=3.14;
- void my_fun()
- {
- pi=3.1416;
- return;
- }
- int main()
- {
- printf("%lf\n",pi);
- my_fun();
- printf("%lf",pi);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement