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 / 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 View All Answers
Why is structure padding done in c?
Why dont c comments nest?
What is the use of header?
What does the c in ctime mean?
What are the types of type qualifiers in c?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
How do you construct an increment statement or decrement statement in C?
What is the function of this pointer?
Are comments included during the compilation stage and placed in the EXE file as well?
Does c have an equivalent to pascals with statement?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
How can I call a function with an argument list built up at run time?
Lists the benefits of c programming language?
What is the use of in c?