TCS Technical Questions With Solutions 4

16.
What is dangling pointer?

a) points to garbage value
b) points to function
c) Both A and B
d) None of these

17.
what is the purpose of ftell ?

a)to get the current file position
b)to get the current file attribute
c)to get the current file status
d)to get the current file name

18.
What is recursion ?

a) looping
b) a function calls another function repeatedly
c) a fnction calls repeatedly
d) function calls itself repeatedly

19.
What is the similarity between enum and struct ?

a) can assign new values
b) can create new data types
c) nothing in common
d) they are same

20.
which of the following is not a fundamental datatype?

a) Enum
b) unsigned long int
c) Long int
d) double