HCL Networking Interview Questions Answers HCL Technical Interview Questions
1 / 28
No Discussion on this question yet!
No Tags on this question yet!
2 / 28
No Discussion on this question yet!
No Tags on this question yet!
3 / 28
No Discussion on this question yet!
No Tags on this question yet!
4 / 28
No Discussion on this question yet!
No Tags on this question yet!
5 / 28
No Discussion on this question yet!
No Tags on this question yet!
6 / 28
No Discussion on this question yet!
No Tags on this question yet!
7 / 28
No Discussion on this question yet!
No Tags on this question yet!
8 / 28
The NULL pointer is a constant with a value of zero defined in several standard libraries.
No Tags on this question yet!
9 / 28
No Discussion on this question yet!
No Tags on this question yet!
10 / 28
No Discussion on this question yet!
No Tags on this question yet!
11 / 28
#include
int main(void)
{
int a=0;
a = 1;
main();
return 0;
}
In the above piece of code, we declare a variable 'a' inside main() and recursively call main() again and again. Now since every time main() gets called, a memory chunk on stack is allocated for main() again and again. Now, lets run the code :
No Tags on this question yet!
12 / 28
No Discussion on this question yet!
No Tags on this question yet!
13 / 28
No Discussion on this question yet!
No Tags on this question yet!
14 / 28
No Discussion on this question yet!
No Tags on this question yet!
15 / 28
No Discussion on this question yet!
No Tags on this question yet!
16 / 28
No Discussion on this question yet!
No Tags on this question yet!
17 / 28
No Discussion on this question yet!
No Tags on this question yet!
18 / 28
No Discussion on this question yet!
No Tags on this question yet!
19 / 28
No Discussion on this question yet!
No Tags on this question yet!
20 / 28
No Discussion on this question yet!
No Tags on this question yet!
21 / 28
No Discussion on this question yet!
No Tags on this question yet!
22 / 28
No, the messages do not contain an IP header
No Tags on this question yet!
23 / 28
No Discussion on this question yet!
No Tags on this question yet!
24 / 28
No Discussion on this question yet!
No Tags on this question yet!
25 / 28
No Discussion on this question yet!
No Tags on this question yet!
26 / 28
No Discussion on this question yet!
No Tags on this question yet!
27 / 28
IPC allow a program to handle many user requests at the same time.
1. Pipe uses the internal data structure for this (It already reserved few space for creating pipe) But FIFO is physically present in our directory.
2.Pipe can be accessed through file descriptor which he returned when using pipe system call,But FIFO having name so we can access and load it in to memory using its file name.
3. pipe can be accessed to the related process only(parent -child process) But fifo is accessed to unrelated process too.
No Tags on this question yet!
28 / 28
No Discussion on this question yet!
No Tags on this question yet!
- >> HCL Technologies Interview Question Set 1
- HCL Technologies Interview Question Set 2
- HCL Technologies Interview Question Set 3
- HCL Technologies Interview Question Set 4
- HCL Technologies Interview Question Set 5
- HCL Technologies Interview Question Set 6
- HCL Technologies Interview Question Set 7
- HCL Technologies Interview Question Set 8
- HCL Technologies Interview Question Set 9
- HCL Technologies Interview Question Set 10