Why preincrement operator is faster than postincrement?

Answer Posted / devesh patel

b/c preeincrement take one byte instruction & post
increment takes two instruction

Is This Answer Correct ?    16 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between declaration and definition.

577


How would you use the functions randomize() and random()?

617


What is called array?

613


There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.

2522


What is private public protected in c++?

543






Is python written in c or c++?

611


List the special characteristics of constructor.

715


What are the two types of polymorphism?

582


What is the full name of logo?

580


Can turbo c++ run c program?

620


How is modularity introduced in C++?

759


Why c++ is created?

568


What is namespace & why it is used in c++?

599


Describe protected access specifiers?

665


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

1574