=================
1. Briefly described the current project. Given the marker and board to draw the architecture and explain each phase.
2. There were some project specific questions.
3. what is difference in int *a[100] & int (*a)[100] .
4.
int *a[10];
int (*b)[10];
int c[10] = {1,2,3,4,5,6,7,8,9}
a. is the below statement correct ?
a[0]=&c[0]; a[1]=&c[1]; ...... a[9]=&c[9];
b=c;
b. How to print the value using a and c ;
c. what will be the sizeof(a), sizeof(b), sizeof(c);
d. which operation is valid
1. a++ 2. b++ 3. c++
5.
char *x = "alcatel"
char y[18] = "alcatel"
a. what will the the sizeof (x) and sizeof (y), strlen(x),strlen(y)
b. whether the below statement is correct.
x++,y++
c. whether the below statement is correct.
x[0]='L'
y[0]='L'
d. what if we allocate the memory and then
x=malloc(10)
y=malloc(10)
now perform the step b.
e. after the step c what will be the sizeof (x),sizeof(y)
f. what will be strlen(x), strlen(y);
6. lets 32bit no. write a program to circular rotate 1 byte.
int y=0x01020304;
output y=0x04010203;
7. write a program to check the bit is set or not.
8. Write a program to find the loop in linklist and remove the loop in linklist.
If you would like to contribute, mail us your interview experience at "q4interview@gmail.com". We will like to publish it on "q4interview.blogspot.in" and let's help other job seekers.
No comments:
Post a Comment