View Single Post
  #14  
Old Friday, September 14, 2018
Abdul Basit Awan Abdul Basit Awan is offline
Member
 
Join Date: Aug 2018
Posts: 34
Thanks: 7
Thanked 4 Times in 4 Posts
Abdul Basit Awan is on a distinguished road
Default

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.
Reply With Quote