#mastery<\/a>11 #MASTERY<\/a>11 #TC<\/a>1017<\/p>\n Here i will teach you how to call functions in c++.<\/p>\n First of all you will have to create a function and put parameters in it. And put what kind it is, if it\u00b4s int, bool, void etc..<\/p>\n To call it you will go to your int main and write the name of your function. Here is an example.<\/p>\n int function (int a,int b)<\/p>\n {<\/p>\n int c;<\/p>\n c = a + b;<\/p>\n return c;<\/p>\n }<\/p>\n int main()<\/p>\n {<\/p>\n function();<\/p>\n }<\/p>\n \u00a0<\/p>\n So you basically just put the function number and “()” or if it has parameters “(parameters)”.<\/p>\n \u00a0<\/p>\n Hope you understand so i can have my two points!<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" #mastery<\/a>11 #MASTERY<\/a>11 #TC<\/a>1017<\/p>\n Here i will teach you how to call functions in c++.<\/p>\n First of all you will have to create a function and put parameters in it. And put what kind it is, if it´s int, bool, void etc..<\/p>\n To call it you will go to your int main and write the name of your function. Here is an example.<\/p>\n int function (int a,int b)<\/p>\n {<\/p>\n int c;<\/p>\n c = a + b;<\/p>\n return c;<\/p>\n }<\/p>\n int main()<\/p>\n {<\/p>\n function();<\/p>\n }<\/p>\n <\/p>\n So you basically just put the function number and “()” or if it has parameters “(parameters)”.<\/p>\n <\/p>\n Hope you understand so i can have my two points!<\/p>\n<\/div>\n