Home

Which of the following expressions is wrong

A. float a =123.56;

B. char ch ='T' * 'A';

C. char ch ='T' *20;

D. 3 +a = b;

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

You can do it
  1. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  2. Which of the following correctly describes C++ language?
  3. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  4. What is an array?
  5. Which of the following is not true about preprocessor directives
  6. emp name' is a valid variable name.
  7. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  8. The expression 'int j = 6 + 3 % -9;' evaluates to -1.
  9. In the expression - 'x + y + 3z =20'
  10. = and = = have the same operation.
  11. All elements of a structure are allocated contiguous memory locations.
  12. The output of the following code is: void main(){ int a = 20;printf("%d\t%d", ++a, a);}
  13. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  14. What is right way to Initialization array?
  15. Which of the following keyword supports dynamic method resolution?
  16. Only one break can be used in one loop.
  17. What will be output if you will compile and execute the following c code?#include int main(){ float…
  18. char *s[10] defines an array of ------------------------
  19. Which header file is essential for using strcmp() function?
  20. continue statement is used
  21. Which classes allow primitive types to be accessed as objects?
  22. Single operations involving entire arrays are permitted in C.
  23. Which of the following is allowed in a C Arithmetic instruction
  24. Nested macros are allowed.
  25. printf() is not a library function.
  26. The output of the following code is:void main() {char a = 'B';switch (a) {case 'A' : printf("a"); case…
  27. What is Keywords?
  28. the value *(&i) is same as printing the value of address of i.
  29. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  30. /* The C language./* is a procedural language .*/*/The above statement is valid.