Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<conio.h>
  3. unsigned int convert(unsigned int max3) {
  4. if (max3 < 0)
  5. max3 = ~(-max3) + 1;
  6. return max3;
  7. }
  8. main(){
  9. unsigned int max3;
  10. while(max3<max3+1){
  11. max3=max3+1;
  12. }
  13. convert(max3);
  14. printf("%d",max3);
  15. getch();
  16. }
  17.  
  18. unsigned max = -1;
  19.  
  20. unsigned max = 0;
  21. --max;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement