Home / MCQ Bank / Computer
Computer Control Structures In Ruby Difficulty: Medium

What is the output of the code? variable="true".length if variable puts "true" else puts "false" end

Select the correct option to test your answer:

More Computer Questions

What is the purpose of the MapReduce "InputFormat"? What is the result of 7 ^ 7 ? What is the output of the following code? #include<stdio.h> int recursive_sum(int n) { if(n == 0) return 0; return n + recursive_sum(n - 1); } int main() { int n = 5; int ans = recursive_sum(n); printf("%d",ans); return 0; } In a perfect matching of graph G, every vertex is connected to how many edges? Collectors write chunks to logs/*.chukwa files until a . . . . . . . . MB chunk is reached.