Home

The expression "b = 3 ^ 2;" will evaluate b = 9.

A. True

B. False

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

You can do it
  1. A C variable cannot start with
  2. printf() is not a library function.
  3. The expression "int i = j = k = 0;" is invalid.
  4. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  5. static variable will not always have assigned value.
  6. The expression "b = 3 ^ 2;" will evaluate b = 9.
  7. Which options shows the correct hierarchy of arithmetic operators
  8. If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const…
  9. printf("%d", sizeof('2')); will print 2.
  10. Which of the following is not a standard exception built in C++.
  11. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  12. The main() function can be called from any other function.
  13. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?
  14. The same variable names of automatic type can be used in different functions without any conflict.
  15. Which of the following is an example of compounded assignment statement?
  16. The contents of a file opened in 'r+' mode cannot be changed.
  17. The output of the following code is: void main(){ int a = 20;printf("%d\t%d", ++a, a);}
  18. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  19. Which of the following is invalid?
  20. What is the difference between overloaded functions and overridden functions?
  21. What's wrong? for (int k = 2, k <=12, k++)
  22. Which of the following is the most preferred way of throwing and handling exceptions?
  23. No commas or blanks are allowed within an integer or a real constant.
  24. The output of the following code is:void change (char *k) {k="Hello";return; } main() { char *ch = "World";;change(ch);…
  25. emp name' is a valid variable name.
  26. What is right way to Initialization array?
  27. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  28. gets() and puts() are unformatted I/O functions.
  29. Which of the following is allowed in a C Arithmetic instruction
  30. unsigned char has a range from 0 to ------------