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.


Please wait...

Interview Questions and Answers :: HCL Technologies

Home > Experience Archives > HCL Technologies > Interview Question Set 1
Telephonic Round
    Question :: 1
    Tell me about yourself.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 2
    Explain each step of compilation in c.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 3
    What is difference in macro and inline function.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 4
    I have multiple line of code and I want to use some part of code for one project requirement and other part of code or other project requirement, how you can achieve it.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 5
    What type of variable declaration in c.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 6
    In C program what type of main() function will be, whether it is declaration or definition. what is prototype of main.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 7
    What is the use of extern variable.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 8
    what is null pointer, where we use it.

    Answer:

    The NULL pointer is a constant with a value of zero defined in several standard libraries.

    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 9
    What is an Opaque pointer.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 10
    What is memory leak.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 11
    Can you tell me simple program of stack corruption.

    Answer:

    #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 :

    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 12
    What is difference between structure and union.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 13
    What is structre padding.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 14
    What is difference in malloc & calloc.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 15
    What does router do. do u konw any routing protocol.what does it user for.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 16
    Having single linklist there are 5 nodes and if I have address of third node, then how can I delete it.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 17
    How you can find the middle of linklist.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 18
    How can you find the 2/3 of linklist.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 19
    Which sorting technice is best as per you, can you explaion it.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 20
    What are the field of pkt will be modified in the below topology, form host A to server.
    Host A --- router A ------- router B -------router C -------- server.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 21
    What is NAT.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 22
    What is ARP, does arp pkt have ip hadder.

    Answer:

    No, the messages do not contain an IP header

    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 23
    What is difference between trunk and access port.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 24
    What is use of fork system call.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 25
    What is difference betwwen fork and vfork.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 26
    Having process in kernal and it recived an sigkill, what will happen, what will happen if process have child process.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 27
    What is IPC, what is difference in pipe and fifo.

    Answer:

    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.

    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 28
    Do you have any question for me.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!