Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Alcatel-Lucent Interview Questions

10.66K

Total Set :2



Top 10 Alcatel-Lucent Interview Questions With Answer

Question: 1 / 10

Introduce yourself briefly.

Answer:

Hi,
I'm Gursharan Singh. I have done diploma in I.T.E.S&M(Information Technology Enable Services & Management). I did schooling from C.B.S.E broad. I have about 4-5 months of experience in web development .I have two sibling.

Question: 2 / 10

write a program to reverse the linklist.

Answer:

struct node * reverseList ( struct node *current, struct node *prev)
{
struct node *tmp = current->next;
current->next = prev;
if (tmp !=NULL)
reverseList(tmp, current);

return current;
}

Question: 3 / 10

write a program to reverse all the word in given sentence .
Ex. India is a Great Country.
Output: aidni si a taerg yrtnuoc.

Answer:

reverseWordString ( char * str)
{
int len, i, j;
len = strlen(str);
j = 0;
for (i = 0;i < len; i++)
if ( str[i] == ' ')
{
swap (str, j, i-1)
j = i+1;
}

void swap(char *str1, int start, int end)
{
int i = start;
char tmp;
for ( ; i<=end; i++, end--)
tmp = srt1[i];
str1[i]= str[end];
str[end] = tmp;
}

Question: 4 / 10

write a program to set the nth bit .

Answer:

void setNthbit (int num, int bitposition)
{
num |= (1 << bitposition);
}

Question: 5 / 10

Write your own printf.

Question: 6 / 10

write your own strncpy.

Answer:

void owncpyString ( char const *str , char *rev, int length )
{
int i ;

for ( i = 0; (i < length && str[i] != '\0'); i++)
rev[i] = str[i];
if (i < length)
for ( ; i < length; i++)
rev[i] = '\0';

}

Question: 7 / 10

Briefly described the current project. Given the marker and board to draw the architecture and explain each phase.

Question: 8 / 10

There were some project specific questions.

Question: 9 / 10

What is difference in int *a[100] & int (*a)[100] .

Question: 10 / 10

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++