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...

program for following output using for loop?
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5

Answer Posted / natu

Hellow Sashi Ur wrong because Ur program is giving output as
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

but the expected output is
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
please refer and tell me

Is This Answer Correct ?    49 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general form of function in c?

1020


Explain indirection?

1127


What is type qualifiers?

1130


What does calloc stand for?

1155


What is volatile variable in c?

1089


Can we change the value of static variable in c?

1026


Why we use break in c?

1002


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

1060


What do you mean by a local block?

1085


Explain continue keyword in c

1017


Is Exception handling possible in c language?

2046


How can I open a file so that other programs can update it at the same time?

1179


What is a keyword?

1164


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2242


What are header files and explain what are its uses in c programming?

1124