Which is faster post increment or pre increment ? and in
which cases should u use either - to increase speed?

Answer Posted / bakeur

the faster is pre increment

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2114


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2179


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1424


Is abstract thinking intelligence?

605


Get me a number puzzle game-program

1700






What is the types of inheritance?

606


Why do we use oops?

601


How do you explain polymorphism?

600


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1401


What are the benefits of interface?

587


Why interface is used?

559


What is class in oop with example?

629


How do you define a class in oop?

636


any one please tell me the purpose of operator overloading

1976


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2017