two progs are given. one starts counting frm 0 to MAX and
the other stars frm MAX to 0. which one executes fast.
Answer Posted / 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 |
Post New Answer View All Answers
What is a wrapper function in c?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
Differentiate between calloc and malloc.
Explain what is a pragma?
what is event driven software and what is procedural driven software?
How many types of operator or there in c?
What are void pointers in c?
while initialization of array why we use a[][2] why not a[2][]...?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
List the variables are used for writing doubly linked list program.
What are integer variable, floating-point variable and character variable?
What is context in c?
#include
Differentiate between static and dynamic modeling.
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....