Question: a ) C integer literals are formed in the following way: Octal literals consist of a leading 0 followed by zero or more octal digits
a C integer literals are formed in the following way:
Octal literals consist of a leading followed by zero or more octal digits through
Hexadecimal literals consist of a leading followed by or followed by one or more hexadecimal digits through a through or A through
Decimal literals consist of one nonzero decimal digit through followed by zero or more decimal digits through
Construct a regular expression for the integer literals.
Marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
