Question Detail

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
Similar Questions :

1. Size of void pointer is

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

2. Which operator has the highest priority

  • ()
  • []
  • *
  • /

3. If (*p) and **p is same

  • No
  • Yes

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

  • S
  • Error
  • Garbage value
  • None of above

5. Out of following program :
float x = 10.7;
int i;

i = (int) x;
print i;

  • null
  • error
  • 10
  • garbage value
Read more from - C Programming Questions Answers - Chapter 1