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 / shrikantauti

main()
{
int i;
for (i=1;i<=4;i++)
{
printf(i);
}
}

Is This Answer Correct ?    4 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array of pointers to string?

1151


What is indirection? How many levels of pointers can you have?

1206


What is a const pointer?

1191


Is c a great language, or what?

1166


How reliable are floating-point comparisons?

1138


Explain what is page thrashing?

1160


What is a pointer in c?

1683


what are # pragma staments?

2077


What does == mean in texting?

1388


What is wrong in this statement?

1212


What is dynamic dispatch in c++?

1106


What is the difference between void main and main in c?

1203


write a program to create a sparse matrix using dynamic memory allocation.

4950


What is the use of a semicolon (;) at the end of every program statement?

1584


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1978