How the Output was 1 and 4 . I cant understand the logic behind the c program?
#include <stdio.h>
int main()
{
int a;
int i = 4;
a = 24 || --i;
printf("%d %d",a,i);
return 0;
}
Output
1 4
...Program finished with exit code 0
Press ENTER to exit the console.
Can anyone explain the logic for the program..........