programming-examples/c++/_Basic/Find ASCII value of a character.cpp
2019-11-15 12:59:38 +01:00

12 lines
362 B
C++

#include <iostream.h>
#include <conio.h>
void main()
{
clrscr();
cout << "Size of char: " << sizeof(char) << " byte" << endl;
cout << "Size of int: " << sizeof(int) << " bytes" << endl;
cout << "Size of float: " << sizeof(float) << " bytes" << endl;
cout << "Size of double: " << sizeof(double) << " bytes" << endl;
getch();
}