Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
How to call a function with one str argument and use that str as a variable to access a variable present inside a class.
python
0 Votes
1 Answer
26th Apr 2021, 6:16 PM
Abhishek Kumar
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-1 Vote
2 Answers
17th Nov 2020, 9:13 PM
Prerna Keshkar
Is lambda functions can take any data type as argument ?
functions
lambda
python3
1 Vote
2 Answers
6th Oct 2020, 9:46 AM
Rajan K
How can a function save previous argument that was passed to it?
c
function-arguments
functions
static
2 Votes
2 Answers
13th Dec 2019, 11:20 PM
mel1705
Difference between default constructor and no argument constructor in java
argument
constructor
default
difference
0 Votes
2 Answers
19th Apr 2017, 11:52 AM
hAdiA rAshId
Can you print the first argument by 'getting' the second?
hashmap
java
1 Vote
2 Answers
1st Feb 2017, 12:41 PM
Vincent
Ahat is command line argument and when do we need that?
java
0 Votes
4 Answers
29th Jul 2016, 4:01 AM
eugene dakarapu
why we need to pass an argument in an exit command?
c
0 Votes
4 Answers
15th May 2017, 12:05 PM
Ravi prakash
Do not know how to use no-argument constructor and an argument constructor
java
0 Votes
4 Answers
29th Sep 2021, 1:44 AM
David
In C++,is it possible to pass functions as argument of another function??
c++
function-arguments
0 Votes
4 Answers
30th Jul 2019, 6:48 AM
Abhishek V
Can you have more than one argument with a default value?
function-arguments
python
1 Vote
3 Answers
26th Jul 2016, 9:53 PM
Barcode
I have a question about function argument.
argument
pass
6 Votes
2 Answers
6th Sep 2017, 12:14 PM
Corey
what is the difference between passing argument by reference and passing function
c++
3 Votes
3 Answers
17th Sep 2016, 5:49 PM
ADITYA AVADHANI M.L
why it gives error when adding max argument to sub function
function
in
regex
sub
0 Votes
3 Answers
13th Sep 2018, 8:12 AM
moamen
Why does the argument (2,3,e="+") of the function bring to syntax error?
functions
python
2 Votes
2 Answers
28th Jun 2019, 5:33 AM
Valeria Vasylieva
Fill in the blanks to declare a method that takes one argument of type int. public int myFunc( x) return x*10;
final
java
3 Votes
7 Answers
4th Jul 2017, 7:06 AM
Walter Mugo
What is the benefit to use function parameters?
argument
parameter
2 Votes
2 Answers
5th May 2018, 6:15 AM
Varadi Nikica {🧙}
can somebody explain why a refrence must be passed as an argument to copy constructor?
c++
copy_constructor
0 Votes
9 Answers
29th Jul 2020, 2:09 AM
Janak Sharma
while(2,3) is valid in c language? If valid then which argument will used ?
c
2 Votes
7 Answers
26th Feb 2018, 1:53 PM
Nishigandha Bhukan
Why does this code prints not only the argument passed to the function but also an undefined type.
console
javascript
1 Vote
14 Answers
25th Aug 2022, 9:29 AM
Dhanraj Tamang
What does it mean for an argument to be "expected"?
c#
methods
0 Votes
2 Answers
16th Apr 2016, 11:57 PM
Kyle “Kilaya” Robinson
How to pass an list as an argument to a func??
functions
python
0 Votes
3 Answers
3rd Jan 2017, 9:12 AM
Deep Patel
How do I enter arguments in this app?
argument
kotlin
0 Votes
2 Answers
28th Jul 2019, 3:06 PM
D.YURI
How to pass a function as an argument to another function in C++?
c++
functions
pointers
1 Vote
3 Answers
2nd Jan 2020, 10:39 PM
Leo Hunter
Why I obtain Hello123 as a result? And what is the aim of the first argument "a-z"?
java
replaceall
2 Votes
9 Answers
21st Jan 2020, 4:28 PM
Hichem GOUIA
Why self argument is not passed , when we used super () method
inheritance
oops
python3
super()
0 Votes
3 Answers
17th Aug 2019, 8:27 AM
Sagar Hiremath
What is difference between parameters and arguments in methods?
argument
parameter
1 Vote
2 Answers
6th Dec 2018, 4:06 PM
Nitin Gutte
about default arguments
argument
c++
0 Votes
4 Answers
4th Dec 2017, 1:16 PM
HE HUALIANG
[Solved] Questions about readlines():
argument
python
readlines
2 Votes
7 Answers
1st Apr 2022, 7:23 PM
Korkunç el Gato
Write a program with the function chkOdd() that takes one argument (a positive integer) and report if the argument is odd or not
function-arguments
python
-2 Votes
1 Answer
17th Nov 2020, 9:27 PM
Prerna Keshkar
How many argument pass during declaration of member function in unary operator
c++
0 Votes
3 Answers
20th Apr 2018, 4:58 AM
Ashumendra Pratap Singh
Why template function is not taking string as argument ? Thanks :D
c++
if-statements
2 Votes
2 Answers
16th May 2017, 4:35 PM
Ganesh Aleti
HELP USING ARRAY AS ARGUMENT 'AT THE VERY BOTTOM OF THE CODE'
help
me
please
python3
0 Votes
2 Answers
3rd Oct 2018, 4:01 PM
Elijah Mcgrue
How do we pass a multidimensional array as an argument in python3 functions?
arrays
function-arguments
python3
1 Vote
2 Answers
5th Oct 2020, 7:25 AM
Shruti Kadam
How can i put one argument in my system.out.println in my code?
code.
like
this
0 Votes
2 Answers
15th May 2020, 6:30 AM
Malick Diagne
Why is there an object as an argument in this multi-thread example?
argument
java
method
multithreading
object
run
runnable
start
thread
threads
1 Vote
1 Answer
26th May 2019, 11:17 PM
Roger Wang
Convert string to int when given 2 strings in an argument - error
convert
int
python
string
0 Votes
1 Answer
14th Oct 2021, 2:41 PM
Errorguy
what is meant by this error "SyntaxError: positional argument follows keyword argument" ?
error
python3
syntax
0 Votes
2 Answers
7th Apr 2020, 10:54 AM
sai
Can anyone suggest... How to run command line argument programs in java on phones ???
java
3 Votes
3 Answers
6th Feb 2022, 6:02 AM
Neeraj Kumar
Can I use default constructor and constructor with default argument in same class?
constructors
2 Votes
3 Answers
23rd Feb 2018, 8:22 AM
Suraj Manchala
What is the meaning or use of self in python class for e.g. def hi(self)?
argument
self
2 Votes
2 Answers
28th Jul 2017, 6:39 AM
Vishal Agarwal
does the return statement dépends on thé argument given to thé function? because this function prints none because there was no argument given to it.
python
0 Votes
2 Answers
30th Jul 2016, 5:32 PM
Alain Eros Prestige Musoni
Can I use an enum as an argument of a function?
enums
java
0 Votes
2 Answers
26th Oct 2016, 1:31 AM
Julio Omar Vega Guerra
if I don't use function argument in python means what happens?
function-arguments
functions
python
0 Votes
2 Answers
7th Oct 2016, 2:28 PM
Akshay Gudadari
Why dont we need to pass self argument in contructor, in python ?
classes
constructors
python
2 Votes
1 Answer
8th Aug 2018, 12:20 PM
MPNH Anonymous
Why can this run? How do arguments work in Python when a function contains another?
argument
python
1 Vote
1 Answer
4th Aug 2021, 6:34 AM
薛阳
What is command line argument... and why use
argument
command
line
3 Votes
6 Answers
12th Sep 2018, 10:55 AM
Rameshwar Shivshette
Hyphen in command line argument value treated as another parameter. Any solution
python
0 Votes
2 Answers
17th Dec 2018, 1:51 PM
Ravindra Meena
How does a higher order function pass argument to a function that is an argument?
arguments
function
high-order
javascript
2 Votes
2 Answers
4th Nov 2020, 3:34 AM
Logos
Could someone please explain how the whole argument passing thing in methods works?
methods
1 Vote
1 Answer
8th Jan 2020, 7:20 PM
Spuds
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
3
4
5
...
7
Next >
Hot today
Someone can help me
2 Votes
What's wrong with this?
2 Votes
X velocity
0 Votes
Files not linking in C++
0 Votes
I am a super beginner
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
0 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
How this program executes?
0 Votes