1
232
34543
4567654
can anyone tell me how to slove this c question
Answer Posted / anjali
#include <stdio.h>
int main ()
{
int k = 2;
int i, j,l;
for (i = 0; i < 5; i++)
{
for (j = i+1; j < k; j++)
{
printf("%d", j);
}
k = k + 2;
for (l = j - 2; l > i; l--)
{
printf("%d", l);
}
printf("\n");
}
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Is c easy to learn?
Explain what is the purpose of "extern" keyword in a function declaration?
Does c have enums?
All technical questions
What is a program flowchart?
What is meant by type casting?
Explain what does a function declared as pascal do differently?
What is d scanf?
What is openmp in c?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Where are the auto variables stored?
Is there sort function in c?
Define recursion in c.
What is #define in c?
How many keywords are there in c?