fork download
  1. #include <stdio.h>
  2. #include <assert.h>
  3.  
  4. int main(void) {
  5. // your code goes here
  6. int valueToAssign = -100;
  7. assert(valueToAssign > 0);
  8. unsigned test = valueToAssign;
  9. printf("Value of test is: %u\n", test);
  10. printf("Value of test + test is: %u\n", test + test);
  11. return 0;
  12. }
Runtime error #stdin #stdout #stderr 0s 2424KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog: prog.c:7: main: Assertion `valueToAssign > 0' failed.