Select the correct option to test your answer:
More Computer Questions
What will be the output for following code? #include<stdio.h> int func(int x, int y) { if (y == 0) return 1; else if (y%2 == 0) return func(x, y/2)*func(x, y/2); else return x*func(x, y/2)*func(x, y/2); } int main() { int x = 2; int y = 3; printf("%d", func(x, y)); return 0; }
The main page of a website or a browser is called:
Given items as {value,weight} pairs {{60, 20},{50, 25},{20, 5}}. The capacity of knapsack=40. Find the maximum value output assuming items to be divisible and nondivisible respectively.
What is the data type of the variable in C#?
What is the output of the given code? hungry=false unless hungry print "Not hungry" else print "Hungry" end