How to write a code for random pick from 1-1000 numbers?
The output should contain the 10 numbers from the range
1-1000 which should pick randomly, ie ,for each time we run
the code we should get different outputs.
Answer Posted / kap
it is not the correct answer because the range they asked 0-
1000 so need to to %1000. :-)
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the ANSI C Standard?
What is wrong with this program statement?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
What is string length in c?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
Why isn't it being handled properly?
How do I copy files?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Is javascript written in c?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Explain what will the preprocessor do for a program?
How do I get an accurate error status return from system on ms-dos?
How important is structure in life?