Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
What is argument (passing argument) , parameters, ? Please tell me . ( If possible with example. )
c
1 Vote
4 Réponses
28th Dec 2020, 6:58 PM
SARVESH ASHOK DEVRUKHAKAR
It gives an erorr saying that __init__ is missing the argument 'h' in __gt__ although it's not missing! Some explain please.
python
0 Vote
6 Réponses
12th Aug 2023, 10:05 AM
Intermediate Depression
write a user defined function that accepts the radius of the fountain as an argument and returns the area and circumference?
c++
cpp
0 Vote
8 Réponses
15th Dec 2019, 12:09 AM
malk Al-Maamari
increment to the "steps" argument of the list [not that, not that, THIS ONE]
python
range
0 Vote
2 Réponses
13th Sep 2016, 12:51 AM
David
even number=list(range)(2,11,2).why range function takes third argument in range or step size starting from 2 not 1.
cpython
python3
0 Vote
2 Réponses
10th Jan 2023, 8:54 AM
janvi vashistha
What is the difference between arguments and parameters?
and
argument
between
difference
duplicate
parameter
6 Votes
12 Réponses
12th Oct 2018, 7:52 PM
Mr. Bot
What is different between ref and out when I declared argument in method? ?
c#
0 Vote
1 Réponse
4th Jan 2017, 8:50 PM
mostffa hassan
How do you pass a char * function as an argument within a function? (Solved)
c
function-arguments
passing_functions
pointers
0 Vote
1 Réponse
7th Oct 2023, 1:01 PM
William Owens
Random unwanted number printed.
argument
c++
default
functions
0 Vote
7 Réponses
2nd Jun 2021, 6:05 AM
TeAiris Majors
if we can pass array size in square brackets ?when function is declared or array is pass as an argument
arrays
c++
functions
0 Vote
7 Réponses
4th Aug 2016, 2:32 PM
subha21
You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat
aprogram
in
python
write
1 Vote
4 Réponses
24th Dec 2020, 11:51 AM
Nallamala satish
How can i write a function to count amount of uppercase "B" in a string using just one argument
functions
1 Vote
3 Réponses
2nd Feb 2019, 2:38 PM
Udojike Nmesoma
what is the default value of start and end argument if step is negative in slice notation ?
python
slice_notation
1 Vote
3 Réponses
13th Nov 2020, 4:59 PM
Ratnapal Shende
If I put an argument with def statement then I don't need to call that function, do I? (Py)
functions
2 Votes
1 Réponse
17th May 2018, 1:28 PM
Tanzim Ikram Sheikh
Is passing void as a argument to a function same as not passing any kind of arguments in C programming?
c
2 Votes
3 Réponses
28th Jun 2021, 6:05 PM
Aswin Kumar S
Write a program that checks if a word supplied as the argument is an Isogram. An Isogram is a word that a each letter occurs onc
argument
booleans
strings
tuple
-2 Votes
9 Réponses
8th Feb 2017, 7:40 AM
End of story
When an object is passed to System.out.println as an argument it prints some hashcode, what does this hashcode represent?
java
4 Votes
2 Réponses
6th Jan 2018, 5:38 PM
Dhvani
What is the generator argument in std::copy()? I dont understand what an output iterator is in this context.
algorithms
c++
std::copy()
2 Votes
2 Réponses
4th Nov 2018, 1:03 AM
Brandon Autry
what is the diff b/w srand() and rand().... then I used random(); as argument with #include<library.h>
c++
rand
2 Votes
1 Réponse
13th May 2017, 2:13 PM
Mohd Thanveer Mk
A Java code which returns a string after reversing only the alphabets in a sentence which is passed as an argument the method.
code
java
1 Vote
7 Réponses
29th Jul 2020, 12:38 AM
Prashant Pal
How would i create a function so that i can have a command line argument switch in c++?
c
c++
cplusplus
cpp
1 Vote
1 Réponse
13th Nov 2021, 9:38 PM
Kareem Idris
Is it necessary for function argument to be the last arguments of function or not?
function-arguments
python
0 Vote
1 Réponse
20th Oct 2016, 6:46 AM
abhishek thakur
Program to print prime numbers upto a number given by user in command line argument in java.
java
1 Vote
1 Réponse
27th Mar 2018, 2:02 PM
OP Coder
In python while defyning a function is it not necessary to indicate argument type ,like int,str etc., That need to be passed
functions
0 Vote
5 Réponses
8th Jul 2020, 1:13 PM
Chikkala Mohan
Plss help me in this situation. The proble is "type error: x.isEven() missing 1 positional argument 'num'
classes
properties
python3
0 Vote
1 Réponse
9th Aug 2021, 2:48 AM
joser Cuadra
what means an argument from a object be like this: thread ob = new thread(new A()); ???
java
threads
1 Vote
2 Réponses
23rd Jul 2016, 9:53 AM
Gorick X
Declare a template function, taking three arguments of type T. If the third argument is greater than the first, return the secon
c++
0 Vote
7 Réponses
20th Oct 2016, 12:42 PM
anjanel macalaguim
can someone tell me whats the different between parameters and argument?
argument
c++
functions
parameters
5 Votes
3 Réponses
13th Oct 2016, 2:57 AM
Seinsora x
How to pass strings into structs (C) (SOLVED)
argument
c
class
string
struct
2 Votes
7 Réponses
10th May 2022, 4:47 AM
Cam UOR
i set : 3 in argument x, and program says syntax error seems that index can not be more that 1. why?
output
0 Vote
6 Réponses
19th Jun 2019, 12:34 AM
Edwin Boada
I am stuck in this code plz help me guys??
argument
c++
codecoach
default
2 Votes
2 Réponses
10th Nov 2020, 10:27 AM
🤴🌹Cute Princess 🌹💐
If a pointer is supposed to be passed, why is the friend function's argument (MyClass &obj), not (MyClass *obj) ?
c++
classes
friend
2 Votes
3 Réponses
3rd Jan 2016, 2:01 PM
Tesik
Write a function that accepts a number as argument and returns the square of the number. For example if the number passed to the
function
function-arguments
2 Votes
6 Réponses
1st Feb 2022, 3:06 PM
Knowledge Is Power
Python - Why do a and c have the same address?
address
argument
function
python
1 Vote
2 Réponses
18th Oct 2020, 10:42 PM
Solus
Just a quick question, can we put an address as a function argument like int f(int &x){...} ?????? (Pleaase tell me we can't😭)
c
function-arguments
3 Votes
4 Réponses
11th Sep 2019, 10:28 AM
Hadjer
how to access argument/parameters?
argument
functions
javascript
multiple_parameters
parameters
5 Votes
6 Réponses
20th Sep 2021, 7:17 PM
KAZI MD SHAKIB HASSAN
Write and test a function hydroxide that returns a 1 for true if its string argument ends in the substring OH .
strings
1 Vote
4 Réponses
5th Apr 2018, 1:37 PM
Shubham kumar Mishra
What will happen in case of using function overloading and default argument at the same time?
c++
0 Vote
1 Réponse
2nd Aug 2016, 3:32 PM
Sarthak Agarwal
Is there any difference between a function's parameters and its argument in c++? Or they both are same?
c++
function-arguments
functions
0 Vote
3 Réponses
16th Jun 2017, 7:00 AM
Vaibhav Goswami
can any one answer y cant we use decrement operator (x--) as a argument while calling a function recursively..?
c++
recursion
1 Vote
3 Réponses
3rd Jun 2017, 2:33 AM
vinay lingam
You are making a Celsius to Fahrenheit converter. Write a function to take the Celsius value as an argument and return the cor
celsius
fahrenheit
-2 Votes
4 Réponses
6th Jun 2021, 3:21 PM
Tia
May i know what is the parameter separated by comma in that definition. actually i'm confused whether it is the actual argument
lambdas
python
1 Vote
2 Réponses
11th Jul 2019, 7:01 PM
N Hrishikesh Prabhu
Define a function that takes a dictionary as an argument and returns the same dictionary but with different values
dictionary
functions
python
python3
0 Vote
3 Réponses
10th May 2017, 4:46 PM
trucktar
Kotlin Error
argument
default
error
kotlin
2 Votes
2 Réponses
21st Apr 2022, 7:58 AM
Akash Agrawal
Can you help me please?
and
argument
c#
in
metodo
0 Vote
7 Réponses
11th Feb 2020, 10:55 AM
Eliana Jimenez Santana
Can a function return and take as an argument an N dimensional array where N is unknown?
arrays
c++
function-arguments
return
0 Vote
2 Réponses
25th Jun 2016, 11:54 PM
Garme Kain
When I want to give any argument it write you email is not actives I can not understand what I do
tags
0 Vote
3 Réponses
8th Oct 2020, 10:26 AM
adarsh Shukla
In a class,if we have a constructor and methods with same name and without argument is this is possible to have like this?
i
needit
0 Vote
7 Réponses
29th Jul 2017, 4:25 PM
vani s
Fill in the blanks to create a class and its constructor, taking one argument and assigning it to the "name" attribute.
"name"
and
argument
assigning
attribute.
class
constructor,
create
object
-3 Votes
1 Réponse
27th Jun 2021, 5:54 AM
Tia
[ANSWERED] How to pass a variable itself to a method
argument
method
python
0 Vote
1 Réponse
11th Sep 2017, 10:41 AM
Alex Snaidars
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
5
6
7
Suivant >
Aujourd'hui en vedette
Can someone please motivate me to continue coding?
3 Votes
Countdown Test
1 Votes
diary
1 Votes
Could anyone fix this?
0 Votes
how do i create a code
0 Votes
web application with java, spring boot
1 Votes
Leecode?
2 Votes
Fitting
0 Votes
Pro but still no unlimited hearts and advertisements.
0 Votes
Module quiz not opening
1 Votes