Home / MCQ Bank / Computer
Computer File Input Output

In the below C program, every time program is run different numbers are generated. #include <stdio.h> #include <stdlib.h> int main() { printf("%d\n", rand()); return 0; }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • False

Related Computer Questions

What will be the output of the following C code if the system date is 8/22/2016? #include<stdio.h> #include<time.h> int main() { struct tm *ptr; time_t t; char str[100]; t = time(NULL); ptr = localtime(&t); strftime(str,100,"%B",ptr); puts(str); return 0; } In C#, what is the result of the expression 3 / 2? What is the return value of putchar()? What is the output of the given code? a = 22.5 while a >11.5 puts a a-=3.5 end In linked list implementation of a queue, where does a new element be inserted?