L: Means turn Right .
R: Means turn Left.
Numbers represent the distance traveled in a particular direction in meters.
( If Alice is intially facing north, and is given the instruction,
3L4L5R2L3R3R2R4R3L1L3R4R2R3R), which direction would she face and how much distance would she cover?
ans : 42m,north
—————————————————————————————————————-
2. JavaScript syntax for is not equal?
ans: operator is : !
!! – not not
—————————————————————————————————————-
3..
#include<stio.h> #define TRUE 0 void main() { int i = 0; while (TRUE){ printf("%d\n",i); i++; } printf("%d\n",i); i++; } |
output: 0
—————————————————————————————————————–
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Recommended Posts:
- SAP Labs Interview Experience | Set 30 (On Campus for Scholar@SAP Program)
- SAP Labs Interview Experience for Scholar@SAP Program
- SAP Placement Coding Questions
- SAP Labs Interview Questions | Set 8 (Bangalore)
- SAP Labs Interview Questions | Set 9 (Fresher)
- SAP Labs Interview Experience | Campus Placement Drive 2020 - Virtual
- SAP Labs Interview Experience | Set 1 (On-Campus)
- SAP Labs Interview Experience | Set 1B (For Developer Associate)
- SAP Labs Interview Experience | Set 2 (On-Campus)
- SAP Labs Interview Experience | Set 3 (Campus-Pool)
- SAP Labs Interview Experience | Set 4 (Off-Campus)
- SAP Labs Interview Experience | Set 5 (Experienced)
- SAP Labs Interview Experience | Set 6 (Experienced)
- SAP Labs Interview Experience | Set 7
- SAP Labs Interview Experience | Set 10 (For Developer Specialist, 4-6 yrs)
- SAP Labs Interview Experience | Set 11
- SAP Labs Interview Experience | Set 12 (On-Campus)
- SAP Labs Interview Experience | Set 13 (On-Campus)
- SAP Labs Interview Experience | Set 14 (On-Campus)
- SAP Labs Interview Experience | Set 15 (On-Campus)


