Answers for "how to print 1 to 10 without using loop in c"

C
0

print 0 1 2 3 4 in c while loop

int k=0;

while (k <= 5)
{
    printf("%d", k);
    k = k + 1;
}
Posted by: Guest on April-23-2021

Code answers related to "how to print 1 to 10 without using loop in c"

Code answers related to "C"

Browse Popular Code Answers by Language