1
232
34543
4567654
can anyone tell me how to slove this c question
Answer Posted / anna
#include <stdio.h>
int main ()
{
int i;
for(i = 1; i <= 5; i++)
{
int k;
for(k = 0; k < 11 - i; k++)
{
printf(".");
}
int j;
for(j = 0; j < i; j++)
{
printf("%d", i + j);
}
for(j -= 2; j >= 0; j--)
{
printf("%d", i + j);
}
printf("\n");
}
return 0;
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is typedf?
Explain can you assign a different address to an array tag?
What is page thrashing?
Explain bitwise shift operators?
List some of the dynamic data structures in C?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
What does *p++ do? What does it point to?
What is the difference between single charater constant and string constant?
Are the outer parentheses in return statements really optional?
Give me the code of in-order recursive and non-recursive.
What is a lookup table in c?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is a #include preprocessor?
program for reversing a selected line word by word when multiple lines are given without using strrev
What is the value of c?