0 votes 0 votes #include <stdio.h> int main(void) { int b; b='100'; printf("%c",b); return 0; } this shows output as 0. i didnt understand it? Kushagra Gusain asked Jun 8, 2017 Kushagra Gusain 312 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes This is a case of multi character constant This will clear your doubt :) http://www.zipcon.net/~swhite/docs/computers/languages/c_multi-char_const.html aehkn answered Jun 8, 2017 aehkn comment Share Follow See all 2 Comments See all 2 2 Comments reply Kushagra Gusain commented Jun 8, 2017 reply Follow Share thanks for helping me out, this topic is really new to me. 0 votes 0 votes A_i_$_h commented Jun 17, 2017 reply Follow Share can you explain it in a simple way 0 votes 0 votes Please log in or register to add a comment.