NPTEL Problem Solving Through Programming In C Week 12 Assignment Answers 2025

NPTEL Problem Solving Through Programming In C Week 12 Assignment Answers 2025

1. Which of the following are themselves a collection of different data types?

a) String
b) Array
c) Character
d) Structure

Answer :- For Answers Click Here 

2. Which of the following comments about the usage structures is true?

a) Storage class can be assigned to individual member
b) Individual members can be initialized within a structure type declaration
c) The scope of the member name is confined to the particular structure, within which it is defined
d) None

Answer :- 

3.

a) Error
b) 0 1 2 3 4
c) 1 2 3 4 5
d) 0 1 2 2 3

Answer :- 

4.

a) 5 10 10
b) 10 5 15
c) 10 5 10
d) 10 15 5

Answer :- 

5.

a) 2036 2036 2036
b) 2012 4 2204
c) 2036 10 10
d) 2012 4 6

Answer :- For Answers Click Here 

6.

a) 2
b) 4
c) 8
d) None

Answer :- 

7.

a) 10
b) a
c) address of a
d) compilation error

Answer :- 

8.

a) 1111011
b) 1111101
c) 1110111
d) 1110011

Answer :- 

9. Calling a function f with a an array variable a[3] where a is an array, is equivalent to

a) f(a[3])
b) f(*(a + 3))
c) f(3[a])
d) all of the mentioned

Answer :- 

10.

a) True
b) False
c) No output
d) Compilation error

Answer :- For Answers Click Here 
Scroll to Top