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
What is the default access level?
Do class declarations end with a semicolon? Do class method definitions?
What is the difference between #define debug 0 and #undef debug?
Discussion on error handling of C++ .
Please explain the reference variable in c++?
How come you find out if a linked-list is a cycle or not?
What does int * mean in c++?
Are iterators pointers?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
Can a function take variable length arguments, if yes, how?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
Can non-public members of another instance of the class be retrieved by the method of the same class?
How will you call C functions from C ++ and vice-versa?
Write a program to interchange 2 variables without using the third one.