simulation of a processor
hi friends i faced a problem that is in the simulation of a processor my task is to print the purpose of each and every word and characters i mean
in that i want to explain as
but i am facing the problem at tokenizing the sentence in the line there is no delimiter between 'printf' and '('(opening brace) then how could i do that
thanks in advance waiting for ur replies
printf("hi is nani");in the above code it is a line of c program which is the input file to my program
in that i want to explain as
printf - it is used to print the statement between the quotationslike that my output would be.
( - opening brace
" - quotation mark
) - closing brace
but i am facing the problem at tokenizing the sentence in the line there is no delimiter between 'printf' and '('(opening brace) then how could i do that
thanks in advance waiting for ur replies
0