Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Write a C program to identify whether a giver line is a comment or not.
- 2. Write a C program to test whether a given identifier is valid or not.
- 3. Write a C program to test whether a given identifier is valid or not.
- 4. Write a C program to simulate lexical analyzer for validating operators.
- 5. Write a C program to check whether string is recognized or not under the following nfa. (Picture in mobile)
- 6. Write a C program to simulate whether string is recognized or not under the following DFA (picture in mobile)
- 7. Write a C program to find the number of whitespaces and newlines.
- 8. Suppose a list of number given from keyboard in an array.
- Find – avg, max, min, sort in ascending order, sort in descending order
- 9. Suppose a number is given from keyboard. Then count the digit of that number, sum of digit, reverse the number.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement