How can I generate floating-point random numbers?


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

Post New Answer

More C Interview Questions

a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above

3 Answers  


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

0 Answers  


what is structuer?

4 Answers   LG Soft, Wipro,


What is cohesion in c?

0 Answers  


Why c is known as a mother language?

0 Answers  






What is the difference between call by value and call by reference in c?

0 Answers  


why effort estimation is important?

1 Answers  


char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)

7 Answers   Mascot,


write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"

2 Answers  


Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;

18 Answers   Accenture, Cisco, Egentec, HCL, Ideaz, Infosys, M-Systems, MYR, TCS,


Why doesn't C have nested functions?

2 Answers  


main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?

7 Answers   AMCAT, HCL, Ramco, Zycus Infotech,


Categories