1.

The number of tokens in the following C statement. printf("Gudlavalleru, Engineering College! \n"); is *

Answer»

Answer:

2

Explanation:

Tokens are the SMALLEST elements of a program, which are meaningful to the COMPILER.

The following are the TYPES of tokens: KEYWORDS, Identifiers, Constant, Strings, Operators, etc.

Here, Gudlavalleru, Engineering COLLEGE! is a string and thus  tokn. \n is also  token as it tells the compiler to add a new line



Discussion

No Comment Found