Examveda

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;
}

A. True

B. False

C. Depends on the platform

D. Depends on the compiler

Answer: Option B


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output