Home

What is the difference between overloaded functions and overridden functions?

A. Overloading is a dynamic or run-time binding and Overriding is static or compile-time binding

B. Redefining a function in a friend class is called function overriding while Redefining a function in a derived class is called a overloaded fucntion.

C. Overloading is a static or compile-time binding and Overriding is dynamic or run-time binding

D. Redefining a function in a friend class is called function overloading while Redefining a function in a derived class is called as overridden fucnion.

You can do it
  1. printf("%d", sizeof('2')); will print 2.
  2. Which one of the following is not a valid reserved keyword in C++
  3. Which header file is essential for using strcmp() function?
  4. p++ executes faster than p + 1.
  5. The output of the following code is:void main() {char a = 'B';switch (a) {case 'A' : printf("a"); case…
  6. Identify the wrong statement
  7. Which of the following is the most preferred way of throwing and handling exceptions?
  8. The-------------------- statement helps immediate exit from any part of the loop
  9. An array elements are always stored in _________ memory locations.
  10. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  11. Which of the following is allowed in a C Arithmetic instruction
  12. Which of the following is not a preprocessor directive
  13. The identifier argv[] is a pointer to an array of strings.
  14. When a user defined function is defined in program, then it has to be called at least once from the…
  15. Which of the following expressions is wrong
  16. ------ is the ternary operator
  17. Union is used to hold different data at different time.
  18. void' is a datatype.
  19. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  20. C is a ___ language
  21. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  22. A multidimensional array A[10][9] can store-------- number of elements
  23. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?
  24. What is C Tokens?
  25. The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
  26. The main() function can be called from any other function.
  27. Nested macros are allowed.
  28. emp name' is a valid variable name.
  29. The size of signed integer is ------ bytes.
  30. Which of the following language is predecessor to C Programming Language?