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
What are the three constants used in c?
What are the data types present in c?
Is stack a keyword in c?
what are the different storage classes in c?
What is null pointer constant?
Differentiate between null and void pointers.
What is the use of linkage in c language?
Why is c fast?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
How can I direct output to the printer?
When is a “switch” statement preferable over an “if” statement?
What is meant by type specifiers?
why programs in c are running with out #include
What math functions are available for integers? For floating point?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above