int print(int a, int b)
{
return printf("%d\n", a)
&&(a<b)
&&(print(a+1,b)||1)
&&printf("%d\n",a);
}
{
return printf("%d\n", a)
&&(a<b)
&&(print(a+1,b)||1)
&&printf("%d\n",a);
}
This Program perfectly implement the target of printting the integers without the usage of statements of loop or judgement.


No comments:
Post a Comment