fork(10) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. float f = 267.0f;
  7. unsigned char c = f;
  8. cout << (int)c << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
255