//www.ethemsulan.com#include <cstdlib>#include <iostream>using namespace std;int main(int argc, char *argv[]){char k;cout<<"char boyu="<<sizeof(char)<<endl;cout<<"int boyu="<<sizeof(int)<<endl;cout<<"double boyu="<<sizeof(double)<<endl;cout<<"float boyu="<<sizeof(float)<<endl;cout<<"long double boyu="<<sizeof(long double)<<endl;cout<<"unsignet int boyu="<<sizeof(unsigned int)<<endl;cout<<"signed int boyu="<<sizeof(signed int)<<endl;cout<<"short int boyu="<<sizeof(short int)<<endl;system("PAUSE");return EXIT_SUCCESS;}
9 Mart 2010 Salı
C++ da sizeof() Fonksiyonu
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder