Trending ▼   ResFinder  

Class 12 CBSE 12th Board 2017 : Computer Science

20 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
Sukalp Pathak
Prodigy Public School  
+Fave Message
 Home > sukalp >

Formatting page ...

SQP - Computer Science (Code: 083) Class XII (2016-17) Time: 3Hrs. MM: 70 Instructions: i. All Questions are Compulsory. ii. Programming Language : Section A : C++ iii. Programming Language : Section B : Python iv. Answer either Section A or B and Section C is compulsory Section A 1 (a) Explain conditional operator with suitable example? 2 (b) Which C++ header file(s) are essentially required to be included to run/execute the following C++ code : void main() { char *word1="Hello",*word2="Friends"; strcat(word1,word2); cout<<word1; } 1 (c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 2 #include<conio.h> #include<iostream.h> #include<string.h> #include<stdio.h> class product { int product_code,qty,price; char name[20]; public: product(){ product_code=0;qty=0;price=0; name=NULL; } void entry() {

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

sukalp chat