CBSE Computer Science Guess Paper2 Class XII 2011
http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com Guess Paper – 2011 Class – XII Subject – Computer Science TIME: 3 HRS. M.M: 70 Q.1.a) Define pointer constants? Give suitable example? (2) b) “Inheritance provides extension to programming practices”. Comment. (2) c) Give the output of the following code-(3) #include int func(int &x, int y=10) { if(x%y= =0) return ++x; else return y--; } void main() { int p=20, q=23; q=func(p,q); cout< void main() { ___________________ char ch; dfile.open(“abc.txt”, ios::nocreate); _________________________ cout<<”cannot open file”; http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com else int nob=”__________”; while ( ______________ ) nob+=1; cout<<”The size of file is “<
Description
This content is useful for CBSE Students
Presentation Transcript
Your Facebook Friends on WizIQ