logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Where is the reference stored?


  • Options
  • A. stack
  • B. heap
  • C. queue
  • D. None

  • Correct Answer
  • stack 

    Explanation

    Referencee is stored in stack


  • Technology problems


    Search Results


    • 1. Default constructor accepts how many arguments?

    • Options
    • A. one
    • B. two
    • C. three
    • D. None
    • Discuss
    • 2. What could be the bucket size if collision and overlapping occur at same time?

    • Options
    • A. 2
    • B. 0
    • C. 1
    • D. 4
    • Discuss
    • 3. What are the methods are available in storing sequential files?

    • Options
    • A. Natural merging
    • B. Polyphase sort
    • C. Distribution of Initial runs
    • D. All the above
    • Discuss
    • 4. A binary tree with 7 nodes will have how many null branches?

    • Options
    • A. 6
    • B. 7
    • C. 8
    • D. 5
    • Discuss
    • 5. Which of the following methods doesn't use sorting?

    • Options
    • A. Insertion
    • B. Deletion
    • C. Exchange
    • D. Selection
    • Discuss
    • 6. How variable declaration in c++ differs that in c?
    • Discuss
    • 7. What is friend function?
    • Discuss
    • 8. What is the output of this program? #include using namespace std; struct sec { int a; char b; }; int main() { struct sec s ={25,50}; struct sec *ps =(struct sec *)&s; cout << ps->a << ps->b; return 0; }

    • Options
    • A. 252
    • B. 253
    • C. 254
    • D. 262
    • Discuss
    • 9. What are the mandatory part to present in function pointers?

    • Options
    • A. &
    • B. retrun values
    • C. data types
    • D. none of these
    • Discuss
    • 10. What is the output of this program ? #include using namespace std; int n(char, int); int (*p) (char, int) = n; int main() { (*p)('d', 9); p(10, 9); return 0; } int n(char c, int i) { cout << c << i; return 0; }

    • Options
    • A. d99
    • B. d9d9
    • C. d9
    • D. compile time error
    • Discuss


    Comments

    There are no comments.

Enter a new Comment