TCS Technical Questions With Solutions 4

What is dangling pointer?

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

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

What is recursion ?

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

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

which of the following is not a fundamental datatype?

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

Visitor Counter