Can we able to pass formal parameter(argument) of function1 to another function2 as a argument within function1 ? If yes how? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Can we able to pass formal parameter(argument) of function1 to another function2 as a argument within function1 ? If yes how?

for example.. void func1(int a) { func2(a); // a is formal parameter of func1 }

27th Mar 2018, 4:01 PM
sree vishal
sree vishal - avatar
1 Réponse
27th Mar 2018, 4:10 PM
Raj Chhatrala
Raj Chhatrala - avatar