fork download
  1. #include <stdio.h>
  2.  
  3. int funccall(void)
  4. {
  5. int p = 0;
  6.  
  7. return p=3, p+2; //usage of , operator
  8. }
  9.  
  10.  
  11. int main(void) {
  12.  
  13. int ret = funccall();
  14. printf("Return value = %d\n", ret);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
Return value = 5