Thursday, November 20, 2014

c++ program to find size of data type int





#include <iostream>

using namespace std;

int main()



{

int in,size;

size=sizeof (in);

cout<<"size ="<<size;

return 0;


}

No comments:

Post a Comment