Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
the return type of a Member function cannot be of class data type is it true?
c++
classes
data-types
function-arguments
functions
0 Votes
1 Answer
25th Feb 2017, 12:56 PM
Srikanth Srinivasan
why did instantiation an object in source file out of member function? how can use from it?
c++
0 Votes
1 Answer
16th Aug 2019, 1:07 PM
Alireza Abbasi
I got this problem in sololearn challenges. Accordingbto me, the correct output should be 4. But unfortunately it is not.
c++
class
data
member
0 Votes
5 Answers
13th Dec 2022, 9:23 AM
Oliver Pasaribu
can a structure have member function in C++?? if yes than what is the difference in class and structure?
c++
1 Vote
3 Answers
13th Sep 2016, 1:18 PM
subodh Kumar
What is the benefit of become a pro member?
general
member
pro
pro-member
1 Vote
3 Answers
4th Mar 2022, 7:25 PM
Molla Meehedi
Fill in the blanks to define a generic class, which has a member method that returns the value of x. Temp { T x; public
c#
0 Votes
5 Answers
16th Sep 2016, 6:41 AM
Priyanka Pasalkar
community member and leaders please help me.visit my code and u will understand my problem.please please answer in all pos. way
error
local
unbound
0 Votes
4 Answers
11th Oct 2020, 2:46 AM
#challenger mg
In Array of union last member doesn't over write when trying to print but in union it does why?
union
1 Vote
1 Answer
8th May 2020, 2:25 AM
karthik bynagari
how to Write a class having two public variables and one member function ย which will return the area of the rectangle in c++
c++
0 Votes
4 Answers
29th Oct 2021, 4:12 PM
Younis Ahmad
Is there any way to initialize a multi dimensional array if it is a data member of a class? (Such as in an initializer list)
c++
2 Votes
9 Answers
5th May 2017, 5:07 AM
Albert Lugo
( Need Help ) How to change the value of private member of base class from derived class ? thank you ๐ฑ
c#
classes
constructors
2 Votes
2 Answers
9th May 2019, 2:40 AM
Putu Ekky Crisayoga
Is protected member accessible within the class where it's been declared and within its derived class's INSTANCES?
c#
challenge
mistake
0 Votes
1 Answer
3rd Feb 2017, 11:07 AM
Vladimir Poddukin
I'm new here. Who's new too??
challenges
member
new,
sololearn
1 Vote
5 Answers
4th Jul 2017, 10:04 PM
Codegirl
Why i'm getting this weird output ? Maybe it's Initializing "w" on every member call ? also "w" address remains the same
c++
0 Votes
5 Answers
23rd Jun 2017, 11:58 PM
Mazin
Write a class Medical Staff that contains an attribute ID to store staffโs identity. The class contains member functions to inpu
c++
oop
-2 Votes
4 Answers
23rd Jun 2021, 8:18 AM
sana riaz
In classes and objects when we use const keyword for a data member , we use constructor! I know that
c++
0 Votes
2 Answers
18th Sep 2018, 9:07 AM
Bunny
Write a program to search an element in an array using linear search. Make an array as a private member of the class
c++
-2 Votes
5 Answers
25th Feb 2021, 7:32 AM
Parri Chandra Mouli
What does it mean Calling a class ??
c++
classes
functions
member
1 Vote
4 Answers
24th Apr 2017, 12:20 PM
Md Shahabuddin Hossain
Is it possible to call private data member from operator overloading function even when it is not declared as friend function??
c++
0 Votes
3 Answers
6th Aug 2018, 1:32 PM
Shikhar gupta
Hello everyone I'm a new member I love programming and I started learning C++ what do you think of it? what could I do after?
2 Votes
6 Answers
30th Mar 2017, 10:04 AM
Chaima Elbahraoui
What is meanig of code =++ count
data
function
member
static
1 Vote
2 Answers
23rd Apr 2018, 1:47 PM
Devang H Baroliya
Define class having data members as stud_id ,name ,age , percentage with member function get() and display ()
code
functions
java
-4 Votes
1 Answer
6th Apr 2022, 9:22 AM
Vikram Kamble
Data member placement in a class. Where to place and what is the importance of that placement ?
c++
0 Votes
1 Answer
23rd Jul 2017, 4:31 PM
Sai Yerni Akhil
c++ program for class car .it contain make,colour,size,cost as data members.write a member function for reading & printing.
c++
-5 Votes
3 Answers
14th Nov 2017, 1:32 AM
SRI VISHNU T
I learn how data member of a class get there initial in Java..and how we can create object and function calling at class level
information
java
learn
new
2 Votes
2 Answers
7th Apr 2018, 2:36 PM
Arun Tomar
I have made a program of prime number. I want to know did i initialized the class member c=0 correctly or not.
c++
0 Votes
2 Answers
23rd Feb 2020, 6:59 AM
Disha Dey
After writting the program one error is coming 'show ' is not a member of 'A'.What should i write. Can somebody reply me fast.
c++
1 Vote
3 Answers
6th Feb 2020, 4:44 PM
Disha Dey
How to overload assignment operator for a class having member as " int * ptr; and A *a;" Here A is class declared in some librar
c++
1 Vote
4 Answers
14th Oct 2019, 1:38 PM
Amit chavare
What are the xp earned on Sololearn for? What are all ways a member can earn XP on Sololearn? Thank you for your king Answers!
sololearn
3 Votes
3 Answers
19th Nov 2017, 11:08 PM
Josuรฉ Charles
A member function can be declared static,if it does not access any non-static class members. Following statement are true&false?
p
1 Vote
1 Answer
9th Apr 2017, 10:49 AM
prajapati piyush
As the static member variables are common to all the classes, where is the memory allocated for static members?
c#
static
0 Votes
1 Answer
27th Apr 2016, 10:35 PM
Anusuya Rangasamy
C++ program for student details& print the same pointer to object & pointer to member function.create a class student
c++
-6 Votes
1 Answer
14th Nov 2017, 1:35 AM
SRI VISHNU T
pointers to structure members
identifiers
member
memory
pointer
struct
0 Votes
5 Answers
26th Aug 2019, 12:09 PM
Ami Sternlicht
What is your advices for a new member her and which language should I start first if I wana be in system analysis ??
c++
java
1 Vote
4 Answers
15th Feb 2017, 1:47 PM
โซุนุงุฏู ูุฎูุงุตโฌโ
If there is a class and it has only one int type data member in it and that is also private. Can we use it outside the class?
abstractionproblem
classes
cpp
2 Votes
7 Answers
10th Mar 2018, 5:57 AM
Nikhil Punwani
Where are member functions of object present ?and how they access objects if they are common for each object and present in text
c++
0 Votes
3 Answers
4th Aug 2018, 3:05 AM
Prateek Chaturvedi
Functions in OOP
class
cpp
member
object
oop
5 Votes
3 Answers
20th Dec 2016, 3:31 PM
StillSoulโโโโโโโโโโโโโโ
When i open the new hotel so i give an 50%offer for first five member who came .After 5 has't eligble
else-statements
if-statements
0 Votes
1 Answer
21st Apr 2019, 7:09 AM
Swathi Thiyagu
If I Tag Someone With @hisName , Does this send notification to the person in SOLO LEARN community ???
comments
member
sololearn
tag
tags
4 Votes
3 Answers
24th Apr 2017, 12:15 PM
Md Shahabuddin Hossain
Accessing an objectโs member functions through each type of objectโs name, a reference to the object or pointer of object.
8
edition
0 Votes
1 Answer
10th Jul 2017, 9:25 AM
Saad Ahmed
so a protected member of a base class remains to be protected in a derived class and can therefore be derived again, if i understand this one correctly?
c#
protected
0 Votes
6 Answers
29th Apr 2016, 12:49 PM
Marian Martini
Why the friend keyword is required in class in c++ ? Since, its function is same as that of member function.
c++
0 Votes
0 Answers
24th May 2018, 1:19 PM
Prasun Kumar Parate
Class or instance - who owns that name?
assignment
class
instance
member
python
reference
scope
2 Votes
6 Answers
25th Apr 2019, 2:39 PM
HonFu
how to create a form for signup?
fake
form
hack
member
php
signup
3 Votes
5 Answers
24th May 2017, 2:03 AM
Anish Khatri
Can I declare members in abstract class? Should I declare a virtual getter / setter method for the member in that class?
abstract-classes
c++
virtual
0 Votes
2 Answers
23rd Nov 2016, 1:46 PM
Marcell Juhasz
Can someone tell me what should be a specific name for a "friend" keyword since it is not a member function, please!?
c++
classes
friend
0 Votes
2 Answers
24th Dec 2016, 11:34 PM
JQuery/CSS/d0|\/|=๐ฅ๐ฅ๐
WAP to create a class Teacher with data members tid & subject and member functions for reading and displaying data members (C++)
c++
-2 Votes
2 Answers
21st Apr 2021, 1:28 AM
Gaming Soul
A Daughter and a Son class inherit the Mother class. Each of the classes has print() which outputs the name as class member vari
computer
science
0 Votes
1 Answer
23rd Apr 2020, 6:30 PM
Daniel Ngwasi
SL chat
c#
c++
html
java
member
sl
0 Votes
6 Answers
21st Nov 2017, 5:51 AM
Rasul Kamolov
About ideas for Sololearn app
authorized
code
collab
collaboration
idea
member
public
sololearn
11 Votes
7 Answers
16th Sep 2017, 12:06 PM
NoxFly
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
4
5
6
Next >
Hot today
What's the best way to learn anything
1 Votes
Most asked!
1 Votes
How can I improve my Authenticator App built with HTML, CSS, and JavaScript?
0 Votes
Malloc vs calloc | memory not initialized
1 Votes
help!
0 Votes
Is react js enough for frontend??
0 Votes
Mini project ideas for final years
0 Votes
Please guys could smw do this for me ?
0 Votes
Best way to remember things on this app?
0 Votes
Bits
0 Votes