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. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  2. The expression 'int j = 6 + 3 % -9;' evaluates to -1.
  3. A recursive function calls itself again and again.
  4. printf("%d", sizeof('2')); will print 2.
  5. unsigned' is a valid variable name.
  6. What is right way to Initialization array?
  7. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  8. /* The C language./* is a procedural language .*/*/The above statement is valid.
  9. For 16bit compiler allowable range for integer constants is ______ ?
  10. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  11. perror( ) function used to ?
  12. A declaration float a, b; occupies ___ of memory
  13. Which of the following is not true about preprocessor directives
  14. Structures within structures cannot be created.
  15. A pointer is an indication of the variable to be accessed next.
  16. The printf() function retunes which value when an error occurs?
  17. The-------------------- statement helps immediate exit from any part of the loop
  18. The output of the following code is: main() { void msg() { printf("HELLO WORLD"); } }
  19. Which of the following is invalid?
  20. The output of the following code is: main() { unsigned int a = 10; while (a>=10) { int a; a-- ; }…
  21. A continue statement causes execution to skip to
  22. What would be the output of the following program?int x=40;main(){int x=20;printf("%d",x);}
  23. Single operations involving entire arrays are permitted in C.
  24. Which one of the following is not a valid reserved keyword in C++
  25. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
  26. What will be output if you will compile and execute the following c code?#include int main(){ char c=125;…
  27. Which of the following is the most preferred way of throwing and handling exceptions?
  28. The expression (i + j)++ is illegal.
  29. Which escape character can be used to beep from speaker in C?
  30. Nested macros are allowed.