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


two progs are given. one starts counting frm 0 to MAX and
the other stars frm MAX to 0. which one executes fast.

Answers were Sorted based on User's Feedback



two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one e..

Answer / pritam

this may very well depend upon the architecture of the
underlying hardware.
On most arch though the second one max to 0 will run faster
because almost any sane compiler will optimize the code by
using "not zero" testing machine instruction which is
provided on almost all platforms.

Is This Answer Correct ?    5 Yes 0 No

two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one e..

Answer / sriharsha karanth

Both Will Execute Fast

Is This Answer Correct ?    1 Yes 0 No

two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one e..

Answer / nagel

what you have given for this is wrong there is some formula

Is This Answer Correct ?    0 Yes 0 No

two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one e..

Answer / venkatesh

depends on program

Is This Answer Correct ?    0 Yes 0 No

two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one e..

Answer / vignesh1988i

as for as i think , counting of MAX to 0 only will be done
fast..... take an real time example : when we climb up any
thing (eg : steps) it will take time for us to reach the
place which is up , wheares when we come down using steps we
feel easier and come quickly . like this if we see the
above can be the answer..................


thank u

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is function pointer and where we will use it

2 Answers   Infosys, NetApp,


What is the most efficient way to store flag values?

0 Answers  


Explain the difference between ++u and u++?

0 Answers  


Is c is a low level language?

0 Answers  


What is sizeof c?

0 Answers  


Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"

15 Answers   Accenture,


WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............

3 Answers  


Why use int main instead of void main?

0 Answers  


Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.

3 Answers   Google,


WAP to find that given no is small or capital

3 Answers  


What is c token?

0 Answers  


What is define directive?

0 Answers  


Categories