Home

The output of the following code is:
main() 
{
int a[10], i;
for (i = 1; I <= 0; i++)
{
scanf("%d", a[i]);
printf("%d", a[i]);
}
}

A. 10

B. Logical error

C. Runtime error

D. 1 to 10 will be displayed

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

You can do it
  1. strcat() function ----------------------- two strings.
  2. /* The C language./* is a procedural language .*/*/The above statement is valid.
  3. p++ executes faster than p + 1.
  4. A continue statement causes execution to skip to
  5. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  6. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  7. The size of signed integer is ------ bytes.
  8. The value of an enumerated datatype can be read using scanf() function.
  9. The -------------------------- loop executes at least once.
  10. && and & operators have the same meaning.
  11. perror( ) function used to ?
  12. Which of the following language is predecessor to C Programming Language?
  13. What will be output if you will compile and execute the following c code?#include int main(){ char c=125;…
  14. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  15. Expression 4**3 evaluates to 64.
  16. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  17. The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
  18. Every if statement can be converted into an equivalent switch statement.
  19. Single operations involving entire arrays are permitted in C.
  20. unsigned char has a range from 0 to ------------
  21. Each pass through a loop is called a/an
  22. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  23. The contents of a file opened in 'r+' mode cannot be changed.
  24. C programs are converted into machine language with the help of
  25. No commas or blanks are allowed within an integer or a real constant.
  26. A C variable cannot start with
  27. Which of the following correctly describes C++ language?
  28. Which of the following expressions is wrong
  29. For 16bit compiler allowable range for integer constants is ______ ?
  30. Variables declared as register storage type gets stored in CPU registers.