Juniper Network Interview Questions and Answers for 3 years Experience
- FREE!!>
1 / 10
Write a program to divide the given Linked list as below
Given:
Linked List: 1->2->3->4->5->6->7 ----->NULL
Output:
First Linked List: 1->3->5->7->9-> NULL
Second Linked List: 2->4->6->8->10-> NULL
No Discussion on this question yet!
No Tags on this question yet!
2 / 10
struct
{
int a;
int *b;
char *c;
char d;
};
No Discussion on this question yet!
No Tags on this question yet!
3 / 10
No Discussion on this question yet!
No Tags on this question yet!
4 / 10
*ptr = arr;
printf("arr[1][1] %d \n", ________ );
Fill the appropriate to access arr[1][1] in above partial code.
No Discussion on this question yet!
No Tags on this question yet!
5 / 10
{
char abc;
int i;
};
What will be the size of struct student;
No Discussion on this question yet!
No Tags on this question yet!
6 / 10
char *str2;
char *str3 = NULL;
char *str4 = NULL;
char str5[10];
char str6[10]="abc";
Mark appropriate for the below operation [Compile time | Run time | Valid Statement]
str1 = "xyz";
strcpy(str2, "xyz");
str3 = "xyz";
strcpy(str4, "xyz");
str5 = "xyz";
strcpy(str6, "xyz");
No Discussion on this question yet!
No Tags on this question yet!
7 / 10
char *str2 = NULL;
char *str1[] = "ab";
char *str = "abcde";
printf("%d", sizeof (str));
printf("%d", strlen(str));
printf("%d", sizeof (str1));
printf("%d", strlen(str1));
printf("%d", sizeof (str2));
printf("%d", strlen(str));
No Discussion on this question yet!
No Tags on this question yet!
8 / 10
{
printf("in fun %d", a);
return a+1;
}
int print_of_x (int a)
{
printf("in fun %d", a);
return a-1;
}
int main()
{
int x;
printf("in main function \n");
x = print_of_a(3);
printf("%d", x);
printf("in main function \n");
x = print_of_x(3);
printf("%d", x);
}
Write down the output for the above code.
No Discussion on this question yet!
No Tags on this question yet!
9 / 10
No Discussion on this question yet!
No Tags on this question yet!
10 / 10
No Discussion on this question yet!
No Tags on this question yet!
1 / 14
No Discussion on this question yet!
No Tags on this question yet!
2 / 14
No Discussion on this question yet!
No Tags on this question yet!
3 / 14
[R1] -------1------[Network]------1----[R4]-----------5------[R7]
| |
|----1------[R3]------6-------[R6]----1---|
No Discussion on this question yet!
No Tags on this question yet!
4 / 14
1. R1, R4 & R3
2. R4->R7
3. R3->R6
No Discussion on this question yet!
No Tags on this question yet!
5 / 14
[R1] -------1------[Network]------1----[R4]-----------5------[R7]
| |
|----1------[R3]------6-------[R6]----1---|
No Discussion on this question yet!
No Tags on this question yet!
6 / 14
[R1] -------1------[Network]------1----[R4]-----------5------[R7]
| |
|----1------[R3]------6-------[R6]----1---|
No Discussion on this question yet!
No Tags on this question yet!
7 / 14
[R1]------1--------[R2]-------5-----[Network]
|------2-------------|
No Discussion on this question yet!
No Tags on this question yet!
8 / 14
No Discussion on this question yet!
No Tags on this question yet!
9 / 14
No Discussion on this question yet!
No Tags on this question yet!
10 / 14
Source Host ----------------- Destination Host
What if two router and one switch introuduce in topology.
No Discussion on this question yet!
No Tags on this question yet!
11 / 14
No Discussion on this question yet!
No Tags on this question yet!
12 / 14
No Discussion on this question yet!
No Tags on this question yet!
13 / 14
No Discussion on this question yet!
No Tags on this question yet!
14 / 14
No Discussion on this question yet!
No Tags on this question yet!
1 / 9
No Discussion on this question yet!
No Tags on this question yet!
2 / 9
Given String :: Malayalam
No Discussion on this question yet!
No Tags on this question yet!
3 / 9
No Discussion on this question yet!
No Tags on this question yet!
4 / 9
No Discussion on this question yet!
No Tags on this question yet!
5 / 9
No Discussion on this question yet!
No Tags on this question yet!
6 / 9
No Discussion on this question yet!
No Tags on this question yet!
7 / 9
No Discussion on this question yet!
No Tags on this question yet!
8 / 9
No Discussion on this question yet!
No Tags on this question yet!
9 / 9
No Discussion on this question yet!
No Tags on this question yet!