Friday, 17 May 2013

Sedots Placement Papers and Interview Questions


1.
main()
{
int a=2,b=3,c=4;
printf(“%d%d%d”);
}


2.
static int i=25;
Static int i;
main()
{
Static int i;
printf(“%d”,i);
}


3.
struct bitone
{
Int a:3;
Int b:13;
Int c:1;
}bit1;
main()
{
printf(“%d”,sizeof(bit1));
}


4.
main()
{
char *str=NULL;
strcpy(str,”an”);
printf(“str);
}


5.
main()
{
arr[5]={1,2,3,4,5};
printf(“%d”,-2[arr]);
}


6.
main()
{
 char c=’\08’;
printf(“%d”,c);
}


 7.
main()
{
If(0.001-0.1f)
{
printf(“yes\n”);
}
else
{
printf(“No”);
}
}


8.
main()
{
int a=2;
a=˜a+2<<1;
printf(“%d”,a);
}

Technical Questions:

1.Write a program to calculate the size of the structure with out using sizeof?
2.write a program to print your name with out using conditional statements and conditional operators?
3.write a program to calculate sum of the individual digits until it becomes one digit?
(ex:123456 sum is 21 and 21 sum is 3)
4.project description
5.what is virtual pointer
6.program for 7 segment display
7.what is the purpose of constructor
8.diffrences between spi and i2c protocols
9.diffrence between make and make –f
10.what is oops concept

0 comments:

Post a Comment