C quiz with answers
Q1. What is the form of variable name?
A1. 1. Should not begin with digit.
2. Sequence of letters and digits.
Q2. What are identifiers?
A2. Identifiers = symbols. They can refer to
1. variables
2. type
3. functions
4. labels
Q3. What are elements of C language?
A3. Following
1. Operator
2. Keywords
3. Identifiers
4. Constants
5. String Literals
6. Punctuation and special characters
Q4. What are tokens?
A4. The basic element recognized by the compiler is the "token". A token is source-program text that the compiler does not break down into component elements.
Note: Elements of C language are discussed above.
A1. 1. Should not begin with digit.
2. Sequence of letters and digits.
Q2. What are identifiers?
A2. Identifiers = symbols. They can refer to
1. variables
2. type
3. functions
4. labels
Q3. What are elements of C language?
A3. Following
1. Operator
2. Keywords
3. Identifiers
4. Constants
5. String Literals
6. Punctuation and special characters
Q4. What are tokens?
A4. The basic element recognized by the compiler is the "token". A token is source-program text that the compiler does not break down into component elements.
Note: Elements of C language are discussed above.
Comments