download Mastguru Android App

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. A member is a

  • Variable in a structure
  • Datatype of structure
  • Structure pointer
  • None of above

2. 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

3. The first expression in a for loop is

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

4. Which operator in c can't be overloaded

  • %
  • +
  • ::
  • -

5. Continue statement used for

  • To continue to the next line of code
  • To stop the current iteration and begin the next iteration from the beginning
  • To handle run time error
  • None of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment