ICSE Class 10 Computer Applications
Question 19 of 43
User-Defined Methods — Question 19
Back to all questions 19
Question Question 17
Write a function that takes an int argument and doubles it. The function does not return a value.
void doubleNum(int n) {
n = n + n;
}