0
What is the use of '\b' escape character in c programming ?
I have used it one time in hello world program. It do not do anything. Why?
2 Answers
0
'\b' is a escape sequence you can use it as a backspace it deletes the previous character when used
0
I don't know why its not working on sololearn but here is an example how it works
Suppose this is your code
#include <stdio.h>
int main() {
printf("hello\b world");
return 0;
}
So the output will be :hell world