Wipro Question:

Download Job Interview Questions and Answers PDF

What is Precondition in Wipro?

Wipro Interview Question
Wipro Interview Question

Answer:

A condition that should return true when a member function is invoked. In order to use a function correctly a precondition should return true. If a precondition fails to hold, an operation will not take responsibility to perform any action of sensibility. For example, the interface invariants of stack class respond nothing about pushing even though the stack is already full. In this scenario, sinful () is a precondition for push operation.

Download Wipro Interview Questions And Answers PDF

Previous QuestionNext Question
What is Stack unwinding in Wipro?What is Post-Condition in Wipro?