2 votes 2 votes #include <stdio.h> int main () { char *ptr = "\123456789\n"; printf("%s",ptr); } Can anyone explain what happend with escaping character before 1 ? Programming in C strings + – Shaik Masthan asked May 25, 2018 reopened May 26, 2018 by Soumya29 Shaik Masthan 572 views answer comment Share Follow See all 9 Comments See all 9 9 Comments reply Show 6 previous comments ankitgupta.1729 commented May 26, 2018 reply Follow Share @soumya ,yeah, it is showing , octal escape sequence out of range for 656..could u please explain why it is giving warning "octal escape sequence out of range" for 656 ? 0 votes 0 votes Soumya29 commented May 26, 2018 reply Follow Share The reason behind it is - Every escape sequence take 1-byte space. Now with 8 bits maximum 255 i.e '\377 is possible. 4 votes 4 votes ankitgupta.1729 commented May 26, 2018 reply Follow Share Thanks a lot @soumya... 0 votes 0 votes Please log in or register to add a comment.