0 0 votes Which functions of string include the null terminator '\0'? I know strlen() doesn't include the '\0' in giving the length, does anyone know which other functions include and which do not include? Programming in C programming-in-c virtual-gate-test-series + – Purple 661 views answer comment Share Follow Print See 1 comment 1 1 comment reply yankur9 commented Jan 10, 2017 reply Follow flag try sizeof() :) 0 0 replyShare Please log in or register to add a comment.
1 1 vote char includeNull[] = "hii"; printf("%d", sizeof(includeNull)); OUTPUT : 4 robin sharma answered Jan 20, 2017 robin sharma comment Share Follow 0 reply Please log in or register to add a comment.