only first return will get executed .After which the control will be transferd back
#include<stdio.h>
int fun()
{
return 5+2;
return 5-1;
}
int main() {
printf("%d ", fun());
return 0;
}
Here output will be 7 . The will execute successfully witout any error