//Sample Program to demonstrate the use of continue keyword
#include < iostream.h >
#include < conio.h >
void main()
{

	int i;
	clrscr();
	cout << "\n  Example for 'continue'keyword -> ";
	for (i=1; i <=5; i++)
	{
		if (i==3)
			continue;
		cout << i << " ";
}
getch();
}
<< GO BACK

Our aim is to provide information to the knowledge seekers. 


comments powered by Disqus


Footer1