Parameters | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Parameters

what are parameters and arguments in c++?

3rd Jun 2018, 4:20 PM
sayed sayed
sayed sayed - avatar
4 Answers
12th Jun 2018, 10:59 AM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
+ 1
here is a quick start guide for you👇 https://www.sololearn.com/learn/CPlusPlus/1636/
3rd Jun 2018, 4:27 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Imagine you want a func to calculate the addition of two given numbers in main so it will be #include <iostream> using namespace std; void add(int x,int y){ cout<<x+y; } int main(){ int w = 4; int s = 4; add(w,s); } Its a way you can give a func input,Its better to learn in sololearn
3rd Jun 2018, 4:39 PM
Shahil Ahmed
Shahil Ahmed - avatar
0
parameters are the declaration of what type of values would be passed to a function
4th Jun 2018, 7:13 AM
Aveek Bhattacharyya
Aveek Bhattacharyya - avatar