Friday 25 January 2013

pointer in c++ #1

 #include <iostream>
        #include <conio>
        #include <stdio>

             void main()

             {

               cout<<"Size of short\t"<<sizeof(short)<<endl;
               cout<<"Size of int\t"<<sizeof(int)<<endl;
               cout<<"Size of long\t"<<sizeof(long)<<endl;
             getch();}

0 comments:

Post a Comment