Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interview question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01610246
Message ID:
01610264
Vues:
66
>
>a = 1
>b = 2
>c = 10
>DO WHILE a <= c
>    a = a + 1
>ENDDO
>? a
>
>
>What is a?
>
>Is this a trick question?

No, but in an interview someone might panic or not be able to think about it enough to realize when the WHILE clause is evaluated. By itself I wouldn't put much weight on the answer (right or wrong) (well, unless they answer anything except 9, 10 or 11), but it could push a candidate one way or the other over the course of the entire interview.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform