Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
Write the type of C++ tokens (keywords and user defined identifiers) from the following:
(i) new
(ii) While
(iii) case
(iv) Num_2
Answer:
(i) new – Keyword
(ii) While – User defined Identifier
(iii) case – Keyword
(iv) Num_2 – User defined Identifier
Notes:
(i) new – Keyword //This is used while defining a new object
(ii) While – User defined Identifier //Watch that it is not in lowercase so it is an identifier
(iii) case – Keyword //This is used along with switch statement
(iv) Num_2 – User defined Identifier // _ is valid in user defined identifier
C. Sir| Created: 5-Dec-2018 | Updated: 22-Mar-2026|CBSE12A-2017