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


there is two conditions ,

1. while using for loop for printing 1 to 50 no's simulteneous
2. while using printf functios for printing 1 to 50 no's simulteneous with or without using variables

who will take more time for compiling and execution?
explain in details with reason?



there is two conditions , 1. while using for loop for printing 1 to 50 no's simulteneous 2...

Answer / avanish pal

For loop will take more time for compiling and execution
because when we execute the program, flow of control frist
print 1 and after that returns to the condition and than
printed 2 this process repeated 50 times where as in simple
printf it straight print all numbers.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

What is information technology.

1 Answers  


How does free() know explain how much memory to release?

0 Answers  


write a progam to display the factors of a given number and disply how many prime numbers are there?

2 Answers  


Differentiate call by value and call by reference?

0 Answers   Cyient,


What is the hardest programming language?

0 Answers  


what is default constructor?

2 Answers   HCL,


what is data structure?

5 Answers   CBSE,


Is c high or low level?

0 Answers  


How is a structure member accessed?

0 Answers  


Write a program to print factorial of given number without using recursion?

0 Answers  


What does 2n 4c mean?

0 Answers  


What is meant by high-order and low-order bytes?

0 Answers  


Categories