Illustrate with the help of syntax, differences between While and Do-While looping statements in C++.
The syntax of a while loop in C++ is:
while(condition)
{
statement(*);
}
Syntax of do-while loop
do
statements;
} while (condition);