fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int n=0;
  5. printf("Type a number : ");
  6. scanf("%d",n);
  7. printf("Next number is : %d",n+1);
  8. return 0;
  9. }
  10.  
Runtime error #stdin #stdout 0s 2252KB
stdin
3
stdout
Standard output is empty