2 votes 2 votes Can any one Write A C Program to print "ACCEPT" if the string has the pattern 0*1* + 1*0* otherwise "REJECT" Compiler Design compiler-design lexical-analysis + – LavTheRawkstar asked Jul 26, 2016 edited Jun 17, 2022 by Lakshman Bhaiya LavTheRawkstar 602 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply LavTheRawkstar commented Jul 26, 2016 reply Follow Share Respected sir i have got the answer compiled the program successfully also and able to solve kindly close this sir or if anyone is interested in knowing then do let me know . because these types of programs will not be found anywhere 0 votes 0 votes cse23 commented Jul 26, 2016 reply Follow Share can u post the program? 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes Can u post programm? shayal chhabra answered Aug 7, 2016 shayal chhabra comment Share Follow See all 2 Comments See all 2 2 Comments reply Vishal Goyal commented Oct 10, 2016 reply Follow Share take the grammer s -> (L)|a L->L,S|S 1 votes 1 votes Vishal Goyal commented Oct 10, 2016 reply Follow Share leading (s)={ ( , a} trailing (s)={ ) , a } leading(L)={ ',' , ( , a } trailing (L)={',' , ) , a} 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes can u post the program? cse23 answered Jul 26, 2016 cse23 comment Share Follow See all 0 reply Please log in or register to add a comment.