Course Content
Week 3 Assignment Answers
0/1
Week 4 Assignment Answers
0/1
Week 5 Assignment Answers
0/1
Week 6 Assignment Answers
0/1
Week 7 Assignment Answers
0/1
Week 8 Assignment Answers
0/1
Week 9 Assignment Answers
0/1
Week 10 Assignment Answers
0/1
Week 11 Assignment Answers
0/1
Week 12 Assignment Answers
0/1
NPTEL Programming in Modern C++ Assignment Answers 2024 (July-October)
    About Lesson

    Q1. Consider the program below.

    • Fill in the blank at LINE-1 to declare a stack variable st.
    • Fill in the blank at LINE-2 to push values into the stack.
    • Fill in the blank at LINE-3 with the appropriate statement.
      The program must satisfy the given test cases.

    Code:-

    Q2. Consider the following program.

    • Fill in the blank at LINE-1 with the appropriate if statement,

    • Fill in the blank at LINE-2 and LINE-3 with the appropriate return statements.

    The program must satisfy the sample input and output.

    Code:-

    Q3.

    Code:-

    0% Complete