Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Write program to remove duplicate in an array?

1135


Is a house a mass structure?

1160


Subtract Two Number Without Using Subtraction Operator

911


What is call by reference in functions?

1546


what are the facialities provided by you after the selection of the student.

2343


What is a pointer on a pointer in c programming language?

1193


will u please send me the placement papers to my mail???????????????????

1890


The statement, int(*x[]) () what does in indicate?

1205


What are the features of the c language?

1145


What are conditional operators in C?

1147


How do I use void main?

1149


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

2390


Explain what will the preprocessor do for a program?

1113


What are the parts of c program?

1159


What does c mean in basketball?

1050