<=Back
The following program was created by a student during a programming lesson.
Use it to answer the question that follows. (4 marks)
# include<stdio.h>
main ( )
{
int a =0; int b=15; int c;
if (a && b)
{
printf (“Line 1-condition is true\n”)
}
if( a || b)
{
printf (“Line 1-condition is true\n”)
}
}
Interpret the program
 Viewed: 370 times
Share in: