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

print 1-50 with two loop & two print Statement

Answer Posted / ravindra kushwaha

for(int i=1;i<=25;i++)
{
printf("%d",i)
}
for(int j=25;j<=50;j++)
{
printf("%d",j)
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are control structures? What are the different types?

1146


Can you think of a logic behind the game minesweeper.

2522


How many bytes is a struct in c?

1217


What is a structure in c language. how to initialise a structure in c?

1122


What are identifiers and keywords in c?

1200


Explain why can’t constant values be used to define an array’s initial size?

1402


about c language

2074


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1140


Write a program to swap two numbers without using a temporary variable?

1181


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

2529


State two uses of pointers in C?

1109


Explain the binary height balanced tree?

1239


What does emoji p mean?

1205


what is different between auto and local static? why should we use local static?

1171


List the difference between a While & Do While loops?

1154