#include <iostream.h> 
      /* This program shows the difference between 
      * signed and unsigned integers. 
      */ 
      void main() 
      { 
      short int i; // a signed short integer
      short unsigned int j; // an unsigned short integer 
      j = 50000; 
      i = j; 
      cout << i << "\n " << j; 
      }
      
      C language logo

      Oela

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.