Home

Which of the following is a valid destructor of the class name "Country"

A. int ~Country()

B. void Country()

C. int ~Country(Country obj)

D. void ~Country()

You can do it
  1. The output of the following code is: main() { unsigned int a = 10; while (a>=10) { int a; a-- ; }…
  2. The contents of a file opened in 'r+' mode cannot be changed.
  3. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  4. The output of the following code is: main() { int sub[50]; for(i=0; i<=48;i++) { sub[i]=i; printf("%d",…
  5. What does STL stand for?
  6. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  7. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?
  8. unsigned char has a range from 0 to ------------
  9. When is std::bad_alloc exception thrown?
  10. A function to be called must be ended with a----------------
  11. What is C Tokens?
  12. do-while loop is useful when we want the statements within the loop must be executed
  13. Which of the following is not true about preprocessor directives
  14. && and & operators have the same meaning.
  15. What will be output if you will compile and execute the following c code? #include int main(){ int i=320;…
  16. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  17. printf() is not a library function.
  18. Which of the following is not an infinite loop
  19. Which header file is essential for using strcmp() function?
  20. The output of the following code is: void main() { static int a = 1, b, c;if (a>=2) b=2; c=3;printf("%d\t%d",…
  21. An array elements are always stored in _________ memory locations.
  22. Which of the following is not a standard exception built in C++.
  23. Only one break can be used in one loop.
  24. char *s[10] defines an array of ------------------------
  25. Which of the following expressions is wrong
  26. # define PI = 8;' is the correct declaration of macros.
  27. Every if statement can be converted into an equivalent switch statement.
  28. void' is a datatype.
  29. gets() and puts() are unformatted I/O functions.
  30. A recursive function calls itself again and again.