Computer Science, asked by singhvaibhav022, 7 months ago

<
Question: 10
What will be output of following code snippet?
1 | int main()
21
3 / int a[4] = { 100, 36 };
4 l printf ("%d %d", a[0] & a[1]. a[1] 1 a[21):
51)
Answer:​

Answers

Answered by tanish4331
0

Answer:

Explanation:

The smallest individual units are known as C Tokens. The keywords, identifiers, constants, string literals, and operators described in this section are examples of tokens. Punctuation characters such as brackets ([ ]), braces ({ }), parentheses ( ( ) ), and commas (,) are also tokens.

Example:

printf("Hello, World! \n");

The tokens for the above statement are:

1) printf

2) (

3) "Hello, World! \n"

4) )

5) ;

So there are 5 tokens

printf("i = %d, &i = %x", i, &i);

10 Tokens are:

1) printf

2) (

3) "i = %d, &i = %x"

4) ,

5) i

6) ,

7) &

8) i

9) )

10);

Similar questions