Home / MCQ Bank / Computer
Computer Miscellaneous Difficulty: Medium

Determine Output: void main() { int i = abc(10); printf("%d", --i); } int abc(int i) { return(i++); }

Select the correct option to test your answer:

More Computer Questions

The following sequence is a fibonacci sequence: 0, 1, 1, 2, 3, 5, 8, 13, 21, .... Which technique can be used to get the nth fibonacci term? What does the term "DRY" stand for in Ruby programming? What will be the output of the following C++ code? #include <iostream> using namespace std; void copy (int& a, int& b, int& c) { a *= 2; b *= 2; c *= 2; } int main () { int x = 1, y = 3, z = 7; copy (x, y, z); cout << "x =" << x << ", y =" << y << ", z =" << z; return 0; } A fully functional computing device containing all the elements of a computer which is built around a MICROPROCESSOR is known as What will be the output of the following Java code snippet? int a = random.nextInt(15) + 1;