srividhya


{ City } chennai
< Country > india
* Profession * student
User No # 8726
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 8
Users Marked my Answers as Wrong # 15
Questions / { srividhya }
Questions Answers Category Views Company eMail




Answers / { srividhya }

Question { Wipro, 21206 }

print numbers till we want without using loops or condition
statements like specifically(for,do while, while swiches,
if etc)!


Answer

#include
#include
#include
void main()
{
int i=0,n,x;
scanf("%d",&n);
label1:
{
printf("%d",i);
i++;
x=i exit(x);
continue;
}
getch();
}

Is This Answer Correct ?    8 Yes 15 No