Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. 1. Write a C program to identify whether a giver line is a comment or not.
  2. 2. Write a C program to test whether a given identifier is valid or not.
  3. 3. Write a C program to test whether a given identifier is valid or not.
  4. 4. Write a C program to simulate lexical analyzer for validating operators.
  5. 5. Write a C program to check whether string is recognized or not under the following nfa. (Picture in mobile)
  6. 6. Write a C program to simulate whether string is recognized or not under the following DFA (picture in mobile)
  7. 7. Write a C program to find the number of whitespaces and newlines.
  8. 8. Suppose a list of number given from keyboard in an array.
  9. Find – avg, max, min, sort in ascending order, sort in descending order
  10. 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