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 / abhradeep chatterjee

I am Sorry, I executed the Code and it does not work.
Thanks to Rama Krishna.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1584


What is a pointer in c plus plus?

690


What are the types of pointers in c?

526


What is logical error?

603


What is the use of volatile?

604






What is modeling?

642


How can I send mail from within a c program?

577


Explain is it valid to address one element beyond the end of an array?

729


What is indirection in c?

620


What is the use of getchar() function?

624


What is the general form of a C program?

596


Write a program to print factorial of given number using recursion?

599


What are external variables in c?

543


Can you define which header file to include at compile time?

584


i have a written test for microland please give me test pattern

2177