Please can any one explain this: Current Time = time(NULL); do { Elapsed Time = time(NULL); } while ( (Elapsed Time - Current Time )< 5);

Asked by Last Modified  

3 Answers

Learn BA Tuition +1 Programming Fundamentals using C++

Follow 0
Answer

Please enter your answer

Java Trainer

This do-while is infinite. Since we are subtracting same numbers again and again.
Comments

Computer Science C++, JAVA, Data Structure

Its checking for 5 seconds or we can say this statement takes 5 seconds to execute, therefore control will reach no the next statement after 5 second. You may use sleep in C-language for the same loop.
Comments

Tutor

Hello dears please review us on: https://www.urbanpro.com/rr/774061. For more valuable information in future.
Comments

View 1 more Answers

Related Questions

In what why i got general ability for my BSNL exam?
I don't think you have to much worry about the GA section the questions are very basic and you can attempt 15/20 so just read technical section and go for exam, you can qualify with your technical section...
Supraja
How to explain the self introduction in interview?
The first step would be to : 1) Greet the interviewer 2) Give your name 3)Place where you reside 4)Your academic qualifications 5)Name of your institution 6) Awards and Accolades 7)Major Subject 8)...
Ragini
How I prepare for TISS? Which books should I follow for this? Have any reputed coaching center in Kolkata?
Use standard books on the syllabus recommended, and go for institute near by you which can give you the place to learn in all the classes without limitations of time. You must sit in the maximum classes of the institute to get more practice.
Ranjit
0 0
7
How to improve my English?
Just watching AIR news over radio and TV. Keep reading 'THE HINDU' newspaper. You would improve in few days.
Ashwani
How I can speak English like a pro?
By analysis of English skills, learn and achieve English environment for good development.
VINOD

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons


Oxidative Phosphorylation
Oxidative PhosphorylationIt is the main source of energy of our cell. Takes place in Mitochondria. Movement of protons through inner mitochondrial membrane leads to ATP production. Definition:Oxidative...

Tips for Entry Level Java Job Seeker
3 steps you should take to make a break as a Java developer: Step 1: Invest in improving your job hunting skills encompassing interviewing, networking, and resume writing skills. Step 2: Keep applying...
A

Akshay Shende

1 0
0

Key to Success in Mathematics
Following are keys to success in any mathematics exam: 1. Learn how formulas are derived. 2. Types of Interpretations of formulas. 3. Selected Examples to represent types of problems. 4. Good books...

Improve your English.
Hello people,I know it's so much important for each one of us to be fluent in English. Holding a high degree but hesitation in speaking English often leads to rejections. So, the very first step towards...
M

Mrs S.

0 0
0

Recommended Articles

Whatever you learn in college is no doubt very important and forms the base for your future professional career. However, lack of hands-on experience, business oriented skills and interpersonal skills, among fresh graduates are making them unfit for employment in competitive business environment. Today organizations operate...

Read full article >

Whether you are doing graduation or post graduation, no college student can escape from the misery of college dissertation. College dissertation is a detailed research project on a topic of your choice, approved by professors. At the beginning of the dissertation you have to set a hypothetical aim and at the end, you have...

Read full article >

Most of the students decide what stream they are going to choose at the school level. Science, commerce and arts are the main fields, and students need to choose any one between these three. Although there are many such professional courses available, most students like to select one of these three streams. In college,...

Read full article >

During the last days in school, every student waits for their college life. It is, of course, exciting to get admission in your dream college with the course you wanted to pursue. Its your effort and struggle that makes you part of the college that you aimed for. Yet, once the first month passes all students forget their...

Read full article >

Looking for BA Tuition ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you