GATE CSE
First time here? Checkout the FAQ!
x
0 votes
123 views
no of token generated?

 

int main()

{

int ***p;

printf("%d",***p);

}
asked in Compiler Design by Junior (839 points)   | 123 views

Match the following:
image:CD Topic Test - 1/Q8.png

1 Answer

+2 votes
Best answer

No of tokens=22 



* is  one token but not *** is one token.

But in case of ++ it is treated as one token not two because this is an operator in programming languages.but *** is not an operatotr

answered by Veteran (10.6k points)  
selected by


Top Users Mar 2017
  1. rude

    4018 Points

  2. sh!va

    2994 Points

  3. Rahul Jain25

    2804 Points

  4. Kapil

    2608 Points

  5. Debashish Deka

    2104 Points

  6. 2018

    1414 Points

  7. Vignesh Sekar

    1336 Points

  8. Bikram

    1218 Points

  9. Akriti sood

    1186 Points

  10. Sanjay Sharma

    1016 Points

Monthly Topper: Rs. 500 gift card

21,446 questions
26,759 answers
60,943 comments
22,955 users