Home

If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?

A. const X* const

B. X* const

C. X*

D. X&

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Single operations involving entire arrays are permitted in C.
  2. The size of signed integer is ------ bytes.
  3. Every if statement can be converted into an equivalent switch statement.
  4. ------ is the ternary operator
  5. Union is used to hold different data at different time.
  6. What is the right way to access value of structure variable book{ price, page }?
  7. The output of the following code is: main() { void msg() { printf("HELLO WORLD"); } }
  8. What would be the output of the following program?int x=40;main(){int x=20;printf("%d",x);}
  9. Which of the following is not recommended in a header file?
  10. The default initial value of automatic storage class is 0.
  11. All elements of a structure are allocated contiguous memory locations.
  12. Which of the following is the most preferred way of throwing and handling exceptions?
  13. unsigned' is a valid variable name.
  14. char *s[10] defines an array of ------------------------
  15. Character data types cannot be declared as unsigned.
  16. gets() and puts() are unformatted I/O functions.
  17. Bitwise operators can operate upon?
  18. A declaration float a, b; occupies ___ of memory
  19. If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const…
  20. C programs are converted into machine language with the help of
  21. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  22. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
  23. The array 'char name[10] can consist of a maximum of 9 characters.
  24. Which of the following is an example of compounded assignment statement?
  25. Which options shows the correct hierarchy of arithmetic operators
  26. The main() function can be called from any other function.
  27. The -------------------------- loop executes at least once.
  28. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  29. strcat() function ----------------------- two strings.
  30. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…