Challenger App

No.1 PSC Learning App

1M+ Downloads

ഒരു C++ ക്ലാസിലെ അംഗ ഫംഗ്‌ഷനുകളെക്കുറിച്ച് ഇനിപ്പറയുന്ന പ്രസ്താവനകളിൽ ഏതാണ് /ശരി?

(i)ഒരു അംഗ ഫംഗ്‌ഷൻ ക്ലാസിന് പുറത്ത് മാത്രമേ നിർവചിക്കൂ

(ii)ക്ലാസിന് സമാനമായ പേരുള്ള ഒരു അംഗ ഫംഗ്‌ഷനെ കൺസ്ട്രക്റ്റർ എന്ന് വിളിക്കുന്നു .

(iii) ക്ലാസ് ഡാറ്റയിൽ ഒരു അംഗ ഫംഗ്ഷൻ പ്രവർത്തിക്കുന്നു

Ai Only

Bi and ii only

Cii and iii only

Diii only

Answer:

C. ii and iii only

Read Explanation:

member functions in a C++ Class 1.A member function with the same name as its class is called a constructor 2.A member function operate on class data


Related Questions:

ASCII refers to :
ഹൈ ലെവൽ ലാംഗ്വേജിൽ നിന്ന് മെഷീൻ ലെവൽ ലാംഗ്വേജിലേക്ക് വിവർത്തനം ചെയ്യുന്നു.
How do you define a function in JavaScript ?
In programming, what is the purpose of a loop?