Let L be the set of letters {_,A,B,...Z,a,b,…z} and D be the set of digits {0,1…9}. Then which of the following regular expression represents the set of valid C identifiers. Assume that any C keyword is also allowed as variable name.
- L*(L+D)*
- LL*D*
- L(L+D)*
- None of the above
Please explain with valid reason..?
Thanks,