# Aditi Technical Question Paper 2011

Aditi Technical question Paper 2011 Placement Papers.

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

## Aditi Technical Question Paper 2011.

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

C Test
1.What would be the output of the following program.
#include<stdio.h>
main()
{
extern int a;
printf(“%d”,a);;
}
int a=20;
(a) 20                      (b) 0     (c) garbage value               (d) error!!

2.What would be the output of the following program.
main()
{
int a[5]={2,3};
printf(”
%d %d %d”,a[2],a[3],a[4]);
}
(a) garbage value         (b) 2   3   3   (c) 3   2   2        (d) 0   0   0

3.What would be the output of the following program.
main()
{
inti=-3,j=2,k=0,m;
m=++i&&++j||++k;
printf(”
%d %d %d %d”,i,j,k,m);
}
(a) -2   3   0   1        (b) -3   2   0   1      (c) -2   3   1   1        (d) error

4.What would be the output of the following program.
main()
{
int a,b;
a=sumdig(123);
b=sumdig(123);
printf(“%d %d”,a,b);
}
sumdig(int n)
{
static int s=0;
int d;
if(n!=0)
{
d=n%10;
n=(n-d)/10;
s=s+d;
sumdig(n);
}
else   return(s);
}
(a) 12    6               (b) 6    12      (c) 3    15              (d) error

5.What would be the output of the following program.
#define CUBE(x) (x*x*x)
main()
{
int a,b=3;
a=CUBE(b++);
printf(”
%d %d”,a,b);