25. It takes five minutes to pass a rumour from one
person to two other persons. The tree of rumour continues.
Find how many minutes does it take spread the rumour to 768
persons. ?
Answer Posted / bindu
But Pradeep, your logic assumes that the people who have
already passed the rumour in the first 5mins, will not pass
it again in the next 5mins!! In my logic, they keep on
passing it; 1.e. they don't stop after the first time.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is structure pointer in c?
What is page thrashing?
How to establish connection with oracle database software from c language?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
#include
What was noalias and what ever happened to it?
Where register variables are stored in c?
Can variables be declared anywhere in c?
What are valid operations on pointers?
What are reserved words with a programming language?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What is #ifdef ? What is its application?
How can you find the exact size of a data type in c?
What is data structure in c and its types?