Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

sizeof operator in c++

cout << "char: " << sizeof(char) << endl;
cout << "int: " << sizeof(int) << endl;
cout << "float: " << sizeof(float) << endl;
cout << "double: " << sizeof(double) << endl;
 
PREVIOUS NEXT
Tagged: #sizeof #operator
ADD COMMENT
Topic
Name
5+1 =