Click to follow our Afritutor YouTube Channel, subscribe and click notifications and get updates on new learning videos
<=Back
Write the output generated when each of the following program segments codes in c program are executed. (4 marks)
(a)int i,j;
i=7;
i+=2;
j=sqrt(i);
printf (“value of i is %d and the value of j is %d”,i,j);
(b)int x,y;
x=5;
y=abs(6-x*2);
printf(“value of x is %d and the value of y is %d”,x,y);
 Viewed: 443 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!
Share in: