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?

6th May 2019, 10:12 AM
Vikash Kumar
Vikash Kumar - avatar
2 ответов
0
'\b' is a escape sequence you can use it as a backspace it deletes the previous character when used
6th May 2019, 10:28 AM
Sahil Bhakat
Sahil Bhakat - avatar
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
6th May 2019, 10:42 AM
Sahil Bhakat
Sahil Bhakat - avatar