How long does this loop run:

for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever

Answer Posted /

#include<stdio.h>
main()
{
for(int x=0; x=3; x++)
printf("Forever.....");
}

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a template?

623


What is the difference between a template and a macro?

584


How can you quickly find the number of elements stored in a static array?

635


What is difference between class and structure in c++?

623


What is c++ virtual inheritance?

595






How many standards of c++ are there?

624


What is a unnitialised pointer?

531


How important is c++?

531


What's the most powerful programming language?

589


How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?

581


Describe about storage allocation and scope of global, extern, static, local and register variables?

731


What is function overloading in C++?

725


Is c++ a low level language?

513


What is the extension of c++?

514


Why use of template is better than a base class?

642