Note 1

Take Note:

Take a note while surfing.





Note With Ink

Give your Note a Colorful Tag.




Easy to Access

Stay on same information and in Sync wherever you are.

Note 2

Take Note:

Organize your information,It may take Shape.





Think With Ink

Differ your Content by Color.




Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3

Take Note:

Don't Let information to miss,Because it take shape





Note With Ink

Simple an Easy Way to take a note.




Easy to Access

Get the same in next visit.

Placement Paper :: MosChip Semiconductor

Companies-Placement-paper-experience
  • MosChip Semiconductor-Hyderabad
Total View:300
3 q4i-uprate
0 q4i-downrate
-------------- C WRITTEN TEST 1 HOUR -------------------

/* There were 13 questions from C and 2 questions from Logical section that were very simple*/

Q1) Write a program to display Xth bit of a given number.

Q2) What does in *p++ increment?

Q3) What is the difference between char a[]="string" and char *a="string" ?

Q4) What is the output?

main()
{
printf("%x",-1<<4);
}

Q5) What is the difference between array of pointers and pointer to an array ? Explain with example.

Q6) What is the output ?

main()
{
int a, b, c, abc=0;
a = b = c = 40;

if(c) {
int abc;
abc = a+b*c;
}
printf("c=%d, abc=%d",c,abc);
}


Q7) What is the output?

main()
{
int i=5;

i = i++ +i ++i;

printf("%d",i);

}

Q8) Declare a function pointer and explain with an example using it.

Q9) What is the output?

#define ABC 20
#define XYZ 10
#define XXX ABC+XYZ

main()
{
int a;

a = XXX * 10;

printf("%d",a);

}

Q10)Write a data structure and print all its elements values implementing a function pointer.

Q11)Write a program to delete a given node from a single link list.

Q12)Write a program to reverse a string.

Q13)What will be the output?

main()
{
char a[]="1234567890";
char p;

p = (a+1)[5];
printf("%d",p);
}


Q14)Logical section question on a simple tricky diagram

Q15)Two numbers add to 110. One number is 150% than the other. What are the two numbers?