Cyient Interview Questions

C

1)Explain about Storage Classes?

2)What is the difference between auto and register?

3)What are the Compilation Stages?

4)What is the difference between Actual Parameters and Formal Parameters?

5)What is the sizeof integer, character, Integer Pointer, and Character Pointer?

    Ex: int *p,char*p

6)What is the difference between structure and union?

7)What is Structure Padding?

8)What is Bit Field? Give one example?

9)What is enum?

10)What is the Use of Typedef?

11)Difference between c and c++?

12)What is Pointer to Pointer? Explain with example?

13)What is DMA?

14)What is malloc()?

15)What is Dangling Pointer?

16)What is Null Pointer and Why it is used?

17)Difference between macro and inline function?

18)What happens if we don't call the main() function in the program?

19)What are the basic data types in C? What are their sizes?

20)What are C Tokens?

21)What is Recursive Function?

22)Difference between C and Embedded C?

CPP

1)What is Inheritance?

2)What is an object?

3)What is PolyMorphism?



Data Structure 

1)What is Single Linked List?

2)What is Double Linked List?

3)What is Circular Linked List? How can you know this circular (or) Linear?

4)How can you define a structure in a Single Linked List?

Linux

1)What is the difference between fork() and exec()?

2)How can we know that which is the parent process and child process if we are

   using fork()?

3)What is Context Switch? Describe How it will Work?

4)What is IPC? Where is it Used?

5)Difference between Pipe and  Named Pipe?

6)What is Semaphore?

7)What is Thread?

8)Explain the working of Process and Thread?

9)In the semaphore, if we want to access the same semaphore using two processes?

  How we can access it?

10)Difference between Semaphore and Mutex?

11)Explain the working of Record Locking?

12)How can we do Synchronization?

13Difference between IPC and Socket Programming?


TCP/IP

1)What is Socket Programming?

2)What is the TCP header Size?

3)What is IP header Size?

4)Describe the TCP frame?


Embedded C

1)What is Embedded Systems? Explain?

2)What is Modulation?

3)Explain the types of feedback circuits? (+Ve and -Ve)

4)Which is the Widely used OS in Embedded Systems?

5)Which Programming Langauge is widely used for Embedded Systems?

6)What is WatchDog Timer?

7)What is Multiplexer?