• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | GATE CS 2012 | Question 49

Consider the above question. What output will be generated by the given code d\\segment if: Line 1 is replaced by “auto int a = 1;” Line 2 is replaced by “register int a = 2;

(A)

3 1
4 1
4 2

(B)

 4 2
6 1
6 1

(C)

4 2
6 2
2 0

(D)

4 2
4 2
2 0

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments