This is the subex azure placement paper.
My advice is tht if ur not comfortable with c,dont write subex(dont waste ur
time ok!)
hi guys
This is the latest question paper of subex azura.
Test of location: Trivandrum
question pattern
C programming 20 questions (30 minutes)
The following are the question i remembered.Hope it will give a clear cut idea
abt subex.
1.struct
{
unsigned int is_keyword:1;
unsigned int is_extern:1;
unsigned int is_static:1;
}flag;
printf("%p",&flag is_static);
whts is the o/p?
ans:
2.1.struct
{
unsigned int is_keyword:1;
unsigned int is_extern:1;
unsigned int is_static:1;
}flag;
main()
{
printf("%d",sizeof(flag));
o/p?
3.main(int argc,char argv[])
{
int i=10,j=10;
const int *ptr;
int *const ptr1=&j;
ptr=&i;
++(*ptr);
ptr1=&i;
is it compile?
4.union
{
int ival;
char ival;
}u;
main()
{
u={1,'2'};
printf("%d",sizeof(u));
}
o/p?
5.int foo(void)
{
char *p;
int i;
if(i&&(*p=10))
return 1;
else
return 0;
calling the function foo,what happened?
6.int i=260;
float f=12.2;
char c='a';
char *ptr1,*ptr2,*ptr3;
ptr1=(char *)&i;
ptr2=(char *)&f;
ptr3=(char *)&c;
printf("%d %d %d",*ptr1,*ptr2,*ptr3);
o/p?
7.int main(int argc,char **argv)
{
int *p;
p=malloc(10*sizeof(int i));
realloc(p,0);
/*(i) */
return 0;
whts tht state of (i)?
after this we had a programming question.
my question is tht write a pgm to count the occurrence of following C keywords
in a file and calcuate the sum?
1.int
2.char
3.static
4.struct
5.union
6.return
Hey guys ,dont upset ..be confident.prepare well(means from a to z of C)...Then
u can simply get it
after test,
2 round TEch interview
and 1 round HR.
Their pay scale is 3 lakshs for btech
3.25 for mtech
after getting a job,they will give u stipend of 2000 rs per month before u
joining the firm.
once again GOOD LUCK!!!!!