CBSE Guess > Papers > Important Questions > Class XII > 2010 > Computer Science > Computer Science By Ravi Kiran CBSE CLASS XII 2009 Outside Delhi: Q.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. Eg: void manip(int x, int y) Q.1.b. Write the names of the header files to which the following belong: 1 Ans: (i) setw( ) – iomanip.h (ii)sqrt( ) - math.h Q.1.c. Rewrite the following program after
removing the syntactical errors (if any). Paper By Mr. Ravi Kiran |