What will be the output of following program? Justify your answer.
#include<stdio.h>
void main()
{
int m,j=3,k;
m=2*j/2;
k=2*(j/2);
printf(“\n m=%d k=%d”,m,k);
}
The answer to your question is provided in the image:
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment