i
Sasken
Filter interviews by
Ten multiple-choice questions on the C programming language and two coding questions.
To reverse a string in C, you can use a loop to swap characters from the beginning and end of the string.
Create two pointers, one pointing to the start of the string and the other pointing to the end.
Swap characters at the two pointers and move them towards each other until they meet in the middle.
Repeat the swapping process until the entire string is reversed.
Top trending discussions
Senior Software Engineer
297
salaries
| ₹6 L/yr - ₹19.6 L/yr |
Software Engineer
283
salaries
| ₹3.2 L/yr - ₹11.5 L/yr |
Senior Engineer
195
salaries
| ₹5.7 L/yr - ₹22 L/yr |
Associate Software Engineer
179
salaries
| ₹4 L/yr - ₹6 L/yr |
Lead Engineer
166
salaries
| ₹10.5 L/yr - ₹33 L/yr |
LTIMindtree
Persistent Systems
L&T Technology Services
TCS