Fandom

Scratchpad

PLE:Unidad3Ejercicio07

216,077pages on
this wiki
Add New Page
Discuss this page0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

/*
Programa:       Ejercicio7.cpp
Fecha:          11/10/2007
Descripción:    Muestra el tamaño de almacenamiento de cada tipo
*/
#include <iostream>
using namespace std;
void main()
{
        cout << "El numero de bytes de un char es " << sizeof(char) << endl;
        cout << "El numero de bytes de un int es " << sizeof(int) << endl;
        cout << "El numero de bytes de un float es " << sizeof(float) << endl;
        cout << "El numero de bytes de un double es " << sizeof(double) << endl;

        cin.ignore();
        cin.get();
}

Also on Fandom

Random wikia