What is the output of this program?
for loop with a semicolon is called as body less for loop. It is used only for incrementing the
variable values. So in this program the value is incremented and printed as 10.Output:$ g++ stat2.cpp$ a.out10
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: