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

write a program whose output will be-
1
12
123
1234

Answer Posted / chaitali shinde

mian()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("1");
1++;
}
printf("\n");
}
getch();
}

Is This Answer Correct ?    8 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the difference between a 'copy constructor' and a 'assignment operator' in C?

1058


What is multidimensional arrays

1087


What are the different data types in C?

1168


How do you determine whether to use a stream function or a low-level function?

1099


What is the right way to use errno?

1015


What is printf () in c?

1033


What is floating point constants?

1097


What is advantage of pointer in c?

1144


What is data types?

1043


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

2007


How can I read/write structures from/to data files?

937


Simplify the program segment if X = B then C ← true else C ← false

2976


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

2022


Explain why c is faster than c++?

1033


Is it possible to execute code even after the program exits the main() function?

1300