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 all different types of pointers in c?

1058


Are negative numbers true in c?

1106


What is function prototype in c language?

1085


What is wrong with this statement? Myname = 'robin';

1391


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2363


What is the role of this pointer?

1126


Tell me is null always defined as 0(zero)?

1130


What is putchar() function?

1218


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

1260


What is sizeof array?

1106


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1202


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2172


Why is void main used?

1143


Explain low-order bytes.

1093


Explain how can a program be made to print the name of a source file where an error occurs?

1244