Aditi C/C++ question Paper 2007 Placement Papers

Aditi C/C++ question Paper 2007 Placement PapersAditi C/C++ question Paper 2007 Placement Papers.

Aditi Technologies  Job 2007 Placement C/C++ question paper with answers Aditi 2007 C/C++ question with solution you can download it in FREE, if Aditi  2007 test paper in text or pdf for Aditi 2007 Answer Keys you can download Aditi for MBA 2007 page also just Go to menu bar, Click on File->then Save.

Aditi Technologies  2007 exam recruitment C/C++ question paper Free Download PDF is available in www.oldquestionpapers.net which has been provided by many students Aditi Placement paper for 2007 paper is available for all the students in FREE and also Aditi Technologies Placement C/C++ question paper for B.Tech MCA 2007 fully solved Aditi 2007 with answer keys and solution.

Aditi C/C++ question Paper 2007 Placement Papers.

You can get daily updates on Aditi 2007 from www.oldquestionpapers.net here you can also check similar links for other related study materials on Aditi Here Aditi  Placement C/C++ question bank 2007.

1. What is the output of the program given below

#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf(“%d
“,i);
}

2. What is the output of the following program

#include<stdio.h>
main()
{
int i=0;
fork();
printf(“%d”,i++);
fork();
printf(“%d”,i++);
fork();
wait();
}

3. What is the memory allocated by the following definition ?
int (*x)[10];

4. What is the memory allocated by the following definition ?
int (*x)();

5. In the following program segment

#include<stdio.h>
main()
{
int a=2;
int b=9;
int c=1;
while(b)
{
if(odd(b))
c=c*a;
a=a*a;
b=b/2;
}
printf(“%d
“,c);
}

How many times is c=c*a calculated?

6. In the program segment in question 5 what is the value of a  at the end of the while loop?http://Friends

7. What is the output for the program given below

type def enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf(“%d”,g1);
}

8. Give the output for the following program.

#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf(“%d %d
“,x,y);
}

9. Give the output for the following program segment.

#ifdef TRUE
int I=0;
#endif

main()
{
int j=0;
printf(“%d %d
“,i,j);
}

10. In the following program

#include<stdio.h>
main()
{
char *pDestn,*pSource=”I Love You Daddy”;
pDestn=malloc(strlen(pSource));
strcpy(pDestn,pSource);
printf(“%s”,pDestn);
free(pDestn);
}

(a)Free() fails
(b)Strcpy() fails
(c)prints I love You Daddy
(d)error

11. What is the output for the following program

#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]=’A’;
flag=((a==*a)&&(*a==a[0]));
printf(“%d
“,flag);
}

Similar Pages…

 Accenture Previous Year Placement Paper 

See Also……