# CDAC Question Paper 2010 with answers free paper

http://www.jbigdeal.com/2011/04/cdac-question-paper-2010-with-ans...

Home

All Papers

TET-PGT-TGT

Class X & XII

Recruitment 2012

IBPS 2012

What's New?

CDAC Question Paper 2010 with answers free paper
Free download pdf Center For Development of Advanced Computing CDAC Last 10 Years Papers with solution, Last Year CDAC Question Papers, Previous year CDAC Question Papers solved, Where can i get CDAC question paper with solution answers Past Previous year Question Papers for Students download free, Old CDAC question papers with solution, December CDAC Question Paper 2010 with answers free paper
1.Find which one of the following is correct? a) !(p||q) !p || !q b) !!!p = !p c) p && q || r p && ( q || r ) d) nothing

2. find the output of the following program? main() { static i = 3; pringf(“%d”,i–) return i >0 ? main():0; } ans: a)333 b)321 c)111 d)error in the code 3.find the output of the following program? main() { charp[] = “%dn”; p[1] = ’c’c; printf(p,65); } ans: a) 0 b) a c) A d) error in the code 4.which will return integer? a) int*s ( ) b) ( int* ) s( ) b) int ( *s ) ( ) 5.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x=”HELLO”; y=myfunc(x); printf(“y = %sn”,y); return 0; } ans: a) HELLO b) LLO c) LO d) L 6.find the output of the following program? main() { int i = _1_abc(10); printf(“%dn”,–i); } { int_1_abc(int i) { return(++i);

1 of 3

8/3/2012 3:20 PM