Josif_tepe

Untitled

Aug 26th, 2026
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <ctype.h>
  4. #include <math.h>
  5.  
  6. int return_5() {
  7.     return 5;
  8. }
  9.  
  10. float yfunc() {
  11.     return 8.9;
  12. }
  13. int main(int argc, char * argv[]) {
  14.     int x = return_5();
  15.     float y = yfunc();
  16.     printf("%d\n", x);
  17.     printf("%f\n", y);
  18.  
  19. }
  20.  
  21.  
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment