Q.No.1

What is the difference between a class and an object?

Q.No.2

What is the output of the following code: int x = 5; printf("%d", ++x);

Q.No.3

Which of the following is NOT a valid way to pass arguments to a function in C?

Q.No.4

What is the size of a pointer variable in a 32-bit system?

Q.No.5

What is the purpose of the 'const' keyword in C++?

Q.No.6

Which of the following is NOT a valid type of inheritance?

Q.No.7

What is the purpose of the 'friend' keyword in C++?

Q.No.8

What is the output of printf("%d", 5 % 2)?

Q.No.9

What is the difference between 'struct' and 'class' in C++?

Q.No.10

What is the purpose of the 'new' operator in C++?


About Simple Quiz

We're here to make learning fun and accessible. Whether you're a student, teacher, or just someone who loves quizzes, you can find something for you here. Test your knowledge across a wide range of subjects and see how much you know!


Get to know more

Quiz On

Quiz on the Concepts of Programming Language and Its Applications for the Nepal Engineering Council (NEC) Registration Exam. This quiz focuses on fundamental concepts of C, C++, Object-Oriented Programming, File Handling, and Generic Programming.

Category

Prepare for the Nepal Engineering Council License Exam with comprehensive quizzes on Computer Engineering.


Computer Engineering

Sector

Enhance your readiness for the Nepal Engineering Council License Exam with specialized preparation resources.


Nepal Engineering Council Registration Examination


Start A Quiz

Do you want to start quiz mode? In this mode, you’ll answer against a timer. When the timer runs out, answers auto-submit, and you get feedback.

Start A Quiz

Do you want to start quiz mode? You'll answer against a timer. When the timer runs out, answers auto-submit