Question Detail

Disadvantage of array in C is

  • We can easily access each element
  • It is necessary to declare too many variables
  • It can store only one similar type of data
  • None of above
Similar Questions :

1. The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above

2. What among following is true about stack

  • stack cannot reuse its memory
  • all elements are of different datatypes
  • all operation done at one end
  • none of above

3. Which operator in c can't be overloaded

  • %
  • +
  • ::
  • -

4. What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}

  • S
  • Error
  • Garbage value
  • None of above

5. To access the members of structure which symbol is used

  • *
  • -
  • ,
  • .
Read more from - C Programming Questions Answers - Chapter 1