1 votes 1 votes The valid octal constants from the following (i) 0245 (ii) 0387 (iii) 04.32 (iv) –0467 (A) (i) and (ii) (B) (iii) and (iv) (C) (i) (iii) and (iv) (D) (i) and (iv) Digital Logic number-representation digital-logic + – sh!va asked Jul 12, 2016 sh!va 3.6k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes D). 0245 and -0467 0387 has illegal digit , 8 ,bcoz it is equal to base , it should be less than defined base. 04.32 has illegal character . (dot) Refer for more ==> http://aboutc.weebly.com/integer-constants.html Kapil answered Jul 12, 2016 Kapil comment Share Follow See 1 comment See all 1 1 comment reply Hira Thakur commented Oct 30, 2016 reply Follow Share why 04.32 is wrong means it's decimal representation of this number??? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes D is ans.. ii -invalid since contains 8 ... Digits should be less than 8 iii invalid since "." http://aboutc.weebly.com/integer-constants.html papesh answered Jul 12, 2016 papesh comment Share Follow See all 15 Comments See all 15 15 Comments reply Show 12 previous comments Tauhin Gangwar commented Jul 13, 2016 reply Follow Share i read it carefully...u taking C language...why??? anywhere mentioned or just u want 2 answer evry question.. type in google search and find answer...whether it has any concern or not .. 0 votes 0 votes Kapil commented Jul 13, 2016 reply Follow Share yes, but options can give u the idea, of what the question actually wants.... 0 votes 0 votes Tauhin Gangwar commented Jul 13, 2016 reply Follow Share but this is not the way to get excellence if there exist a float octal numbers....then there can also be float octal constants...if C doesn't allow it..it doesn't mean that there cannot exist float octal constants 0 votes 0 votes Please log in or register to add a comment.