Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is argument (passing argument) , parameters, ? Please tell me . ( If possible with example. )
c
1 Vote
4 Answers
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 Votes
6 Answers
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 Votes
8 Answers
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 Votes
2 Answers
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 Votes
2 Answers
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 Answers
12th Oct 2018, 7:52 PM
Mr. Bot
What is different between ref and out when I declared argument in method? ?
c#
0 Votes
1 Answer
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 Votes
1 Answer
7th Oct 2023, 1:01 PM
William Owens
Random unwanted number printed.
argument
c++
default
functions
0 Votes
7 Answers
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 Votes
7 Answers
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 Answers
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 Answers
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 Answers
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 Answer
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 Answers
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 Answers
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 Answers
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 Answers
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 Answer
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 Answers
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 Answer
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 Votes
1 Answer
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 Answer
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 Votes
5 Answers
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 Votes
1 Answer
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 Answers
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 Votes
7 Answers
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 Answers
13th Oct 2016, 2:57 AM
Seinsora x
How to pass strings into structs (C) (SOLVED)
argument
c
class
string
struct
2 Votes
7 Answers
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 Votes
6 Answers
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 Answers
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 Answers
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 Answers
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 Answers
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 Answers
11th Sep 2019, 10:28 AM
Hadjer
how to access argument/parameters?
argument
functions
javascript
multiple_parameters
parameters
5 Votes
6 Answers
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 Answers
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 Votes
1 Answer
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 Votes
3 Answers
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 Answers
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 Answers
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 Answers
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 Votes
3 Answers
10th May 2017, 4:46 PM
trucktar
Kotlin Error
argument
default
error
kotlin
2 Votes
2 Answers
21st Apr 2022, 7:58 AM
Akash Agrawal
Can you help me please?
and
argument
c#
in
metodo
0 Votes
7 Answers
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 Votes
2 Answers
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 Votes
3 Answers
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 Votes
7 Answers
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 Answer
27th Jun 2021, 5:54 AM
Tia
[ANSWERED] How to pass a variable itself to a method
argument
method
python
0 Votes
1 Answer
11th Sep 2017, 10:41 AM
Alex Snaidars
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
5
6
7
Next >
Hot today
X velocity
0 Votes
Files not linking in C++
0 Votes
I am a super beginner
0 Votes
And... Who is the staff then?
1 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
How to achieve "Sololearner" achievement?
0 Votes