31. Variable declare in user defined function can call only (whole program, only in user defined function)
ANS: A
Correct is ( inside the user-defined function.)
Reason: the variables defined in a user defined functions are called local variable and local variable scope is within user defined function)
34. In c/c++ constructor (const) use (same data type, different data type)
ANS: A
Correction: in c/c++ structure have .....
Answer : different data types
Reason : arrays have same data type where as structures can have different data types of variables.
|