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 / rama krishna
First program is wrong ,randomize is undefined you just
check it.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Write a program to know whether the input number is an armstrong number.
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
How do you sort filenames in a directory?
What are the three constants used in c?
Can we change the value of static variable in c?
What is the difference between struct and typedef struct in c?
What is the purpose of void in c?
Write a simple code fragment that will check if a number is positive or negative.
Explain the ternary tree?
Write a function that will take in a phone number and output all possible alphabetical combinations
List out few of the applications that make use of Multilinked Structures?
How do I create a directory? How do I remove a directory (and its contents)?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
all c language question
can we have joblib in a proc ?