CBSE Computer Science - Revision Tour(Solved) CBSE Guess > eBooks > Class XII > CBSE Computer Science C++ Solved Revision Tour By Mr. Ravi Kiran COMPUTER SCIENCE C++ 2009 Outside Delhi: 1.a) What is the difference between Actual Parameter and Formal Parameter? Give an example in C++ to illustrate both types of parameters. 2 Ans) The parameters in the function call statement (or calling function) are called as Actual Parameters. The parameters in the function definition (or called function) are called as Formal Parameters.
1.b) Write the names of the header files to which the following belong:
1 Ans: (i) setw( ) – iomanip.h (ii)sqrt( ) - math.h 1.c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction.
2 Ans:
CBSE Computer Science Solved Revision Tour By Mr. Ravi Kiran ( mrkdata@yahoo.com ) |