Question: 3 . 1 2 What does the following program print? 1 #include 2 3 int main ( void ) { 4 int x = 1
What does the following program print?
#include
int mainvoid
int x ;
int total ;
while x
int y x x;
printfd
y;
total y;
x;
end while
printfTotal is d
total;
end main
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
