fork download
  1. #include <stdio.h>
  2.  
  3. int B(void){
  4. printf("B function \n");
  5. return 0;
  6. }
  7. int A(void) {
  8. printf("A function \n");
  9. return 1;
  10. }
  11.  
  12. int main(void) {
  13. // your code goes here
  14. if (A() && B()){
  15. printf("Main function \n");
  16. }
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 4512KB
stdin
Standard input is empty
stdout
A function 
B function