fork download
  1. #include<stdio.h>
  2.  
  3. float a, b;
  4. float sa() { return a;};
  5. int main() {
  6. a = 10;
  7. b = sa();
  8. printf("%f", b);
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 2680KB
stdin
Standard input is empty
stdout
10.000000