How do you generate random numbers in C?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

0 Answers   Amazon,


Write a program which returns the first non repetitive character in the string?

0 Answers   Expedia,


Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?

2 Answers  


write a c code "if you give a any decimal number then print that number in english alphabet"? ex: i/p: 552 o/p: five hundred fifty two ...

1 Answers   Philips,


Write a program to generate random numbers in c?

0 Answers  






1. main() { printf("%d",printf("HelloSoft")); } Output?

3 Answers   HCL,


What does void main () mean?

0 Answers  


How do I send escape sequences to control a terminal or other device?

0 Answers  


enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above

8 Answers   HCL, Wipro,


What is an anonymous union and where to apply that ?

3 Answers   HP,


Write a c program to demonstrate Type casting in c?

2 Answers  


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

0 Answers  


Categories