Tech Industry
Yesterday
4001
What happens when most of your team is Indian?
AMA
Yesterday
1215
PM Manager, early 40s, married and ENM (Ethical Non Monogamous) AMA
Health & Wellness
Yesterday
956
Lasik cost
World Conflicts
9h
374
Is "From the River to the Sea" So Wrong?
India
12h
532
'Hindutva': The Radical Hindu Ideology That Seeks to 'Push Christianity Out of India’
My interview is this Friday. I’m just wondering do I need to know while loops and do while loops or is just a solid understanding of for loops adequate? Please help :/
no need for while and for loops goto/jump shall suffice
Goto usually impresses the most. For cross-subroutine branches, check out setjmp/longjmp.
do{ while(idiotic_prank) { for(int i=0; i<(1/0); i++) { printf(“Jobless\n”); } } }while(!stupid);
That’s why I’m not 🤣
Run a fork bomb
Haha.. good one. Made my day😂😂
Only noobs use while loops. Anything can be implemented as a for loop
I’m sure you’re out of the loop
How many while loops did you have to implement?
One or two infinite loops, or one with recursion is standard. If your loops are too short they might ask a more complicated follow-up.