Guest User

Untitled

a guest
Dec 8th, 2019
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main(){
  3.  
  4.   FILE* ptr = fopen("testdata.in", "r");
  5.   int a, b;
  6.   fscanf(ptr, "%d %d", &a, &b);
  7.   printf("%d\n", a+b);
  8.  
  9.   return 0;
  10. }
RAW Paste Data