The maximum number of int data type

1  / * 32-bit system * / 
2 #include <stdio.h>
 . 3  
. 4  int main ()
 . 5  {
 . 6      int A = 0 , B = 0 ;
 . 7      the while (++ A> 0 )
 . 8      {
 . 9          ;
 10      }
 . 11      the printf ( " int is the maximum number of data types:% D \ n- " , A - . 1 );
 12 is  
13 is      int n-A = - . 1 ;
 14      do 
15      {
 16          n-n-= /10 ;
 . 17          B ++ ;
 18 is      } the while (n-> 0 );
 . 19      the printf ( " int data type the maximum number of total bits% d \ n-. " , B);
 20 is      
21 is      return  0 ;
 22 is }

 

Reproduced in: https: //www.cnblogs.com/2018jason/p/11022976.html

Guess you like

Origin blog.csdn.net/weixin_34337381/article/details/93227116