0

passing mutiple values

If i want use a fucntion to bring a value to a variable. Then, use that function later in the program to pass a different value to thr same variable, would i need to use a pointer?

19th Jun 2017, 9:42 PM
Walter N Yarbrough
Walter N Yarbrough - avatar
1 Answer
0
yes, you can use pointer to set variable value but how would you generate different value. are you using rand() ?
19th Jun 2017, 11:54 PM
Gurpreet Singh
Gurpreet Singh - avatar