#1
16th July 2014, 12:21 PM
| |||
| |||
C++ Solved Sample Papers
Give me question paper for C++ programming language subject of CBSE class 12th grad examination in a PDF file format ?
|
#2
16th July 2014, 02:56 PM
| |||
| |||
Re: C++ Solved Sample Papers
Here I am giving you question paper for C++ programming language subject of CBSE class 12th grad examination in a PDF file attached with it . 1. (a) What is the difference between Object Oriented Programming and Procedural Programming? 2 (b) Write the names of the header files to which the following belong: 1 (i) frexp() (ii) isalnum() (c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 2 #include <iostream.h> struct Pixels { int Color,Style;} void ShowPoint(Pixels P) { cout<<P.Color,P.Style<<endl;} void main() { Pixels Point1=(5,3); ShowPoint(Point1); Pixels Point2=Point1; Color.Point1+=2; ShowPoint(Point2); (f) In the following program, if the value of N given by the user is 20, what maximum and minimum values the program could possibly display? 2 #include <iostream.h> #include <stdlib.h> void main() { int N,Guessnum; randomize(); cin>>N; Guessnum=random(N-10)+10; cout<<Guessnum<<endl; CBSE class 12th C++ Sample Papers |
|