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. What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf(\"%d\",x);
}

  • error
  • 0
  • 10
  • Garbage value

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

  • *
  • -
  • ,
  • .

3. Break statement is used for

  • Quit a program
  • Quit the current iteration
  • Both of above
  • None of above

4. UML meaning is

  • Unique modeling language
  • Unified modeling language
  • Unified modern language
  • Unified master laqnguage

5. The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above
Read more from - C Programming Questions Answers - Chapter 1