Home / MCQ Bank / Computer
Computer Basic Syntax In Ruby

What is the extension used for saving the ruby file?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • .rb extension

Related Computer Questions

What will be the output of the following C code? #include <stdio.h> int main() { struct p { char *name; struct p *next; }; struct p *ptrary[10]; struct p p, q; p.name = "xyz"; p.next = NULL; ptrary[0] = &p; q.name = (char*)malloc(sizeof(char)*3); strcpy(q.name, p.name); q.next = &q; ptrary[1] = &q; printf("%s\n", ptrary[1]->next->next->name); } What will be the output of the following C code? #include <stdio.h> void main() { int x = 0; if (x == 0) printf("hi"); else printf("how are u"); printf("hello"); } Which standard library class in C++ supports both ordered and unordered associative containers? IDE (ATE) or SATA interface connect Mother board with- What will be the output of the following Java code? class newthread extends Thread { newthread() { super("My Thread"); start(); } public void run() { System.out.println(this); } } class multithreaded_programing { public static void main(String args[]) { new newthread(); } }