Intel Corporation

  www.intel.com
Work in HR? Unlock Free Profile

Intel Corporation Post Silicon Validation Engineer Interview Question

I interviewed in Folsom, CA and was asked:
"Difference between while and do-while loops."
Add Tags [?]
Answer

Part of a Post Silicon Validation Engineer Interview Review - one of 1,350 Intel Corporation Interview Reviews

Answers & Comments

0
of 0
votes
Loop condition is checked before entering the loop in case of "while".If it does not get satisfied, control will never go in the loop.
Loop condition is checked at the end of each iteration through the loop in case of "do while".Even if the condition is invalid from start, control will still make the first iteration through the loop.
- Trupti B on Apr 10, 2013

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.