Advertisement
Sirallens

errorcode corregido

Feb 12th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.51 KB | None | 0 0
  1. /**********************************************************************
  2. This source code has some errors. You need to fix it later.
  3. ----------------------------------------------------------------------*/
  4.  
  5. #include<stdio.h>
  6.  
  7. void main(void)
  8. {
  9.  
  10.     while(1)
  11.     {
  12.         unsigned int i;
  13.         long item;
  14.        
  15.         item =0;
  16.         for(i = 0; i< 800; i++)
  17.         {
  18.             item += 1;
  19.             printf("Item = %ld\n", item);
  20.             printf("End of loop n");
  21.            
  22.         }
  23.        
  24.        
  25.     }
  26.    
  27.    
  28. }
  29.  
  30. /*
  31.      -------End Of Error Code---------------------------*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement