October 2008

C interview questions – recursion, unions vs structures, storage allocation of variables.

October 26, 2008 C

Below are six of the most frequently asked C language questions in an entry level / experienced interview in software companies. Question.6 (recursion & factorial program) is frequently asked in fresher’s or entry level interview in C language. Recursion and factorial are interviewers’ favourite to start off in an interview. Question.7(binary to hex) is not [...]

7 comments Read the full article →

C interview programs: even or odd, prime or not, greatest number

October 23, 2008 C

Here are few of the frequently asked programs in C language interviews. Each of the questions have been answered with code and , output and explanation.Question.27(even/odd) is a good starter in an C interview for selecting entry level resources. Question.28(greatest of three) tests whether interviewee candidate is able to write a simple program using control [...]

21 comments Read the full article →

C interview questions – command line arguments and dynamic memory allocation

October 16, 2008 C

This post has few of the frequently asked C questions in an interview for the entry level or the experienced. Some of the Questions below are related to the C standard library. Question.22(argc, argv) is a good way to test the programming knowledge of a candidate in a C language. Question.23(malloc vs calloc) is an [...]

3 comments Read the full article →

C interview questions – pointers, storage classes and bitwise operations

October 9, 2008 C

This post has few of the frequently asked C interview questions. Questions below are related to storage classes, bitwise operators in C language. Question.17, 18 test whether the interviewee candidate is aware of storage classes in C language, their default values, scope etc. Question.19 is an open ended question that tests the knowledge of usage [...]

4 comments Read the full article →

C interview programs – swap numbers, palindrome or not

October 7, 2008 C

Here are more of the frequently asked C language programs in an interview. Each of the questions have been answered with code and , output and explanation. Question.31(swapping using temp variable) is a good starter in an IT interview. Question.32(swapping without temp variable) takes the interview further to test the candidate’s usage of variables. Question.33(swapping [...]

20 comments Read the full article →

C interview questions – pass by value, pass by reference, enumeration

October 2, 2008 C

This post is a set of five of frequently asked interview questions at entry level. These questions have been attempted below. Care has been taken to make answer simple and clear. Question.12, 13 test whether the candidate appearing for interview in C Language is aware of pass by value and pass by reference concepts. The [...]

9 comments Read the full article →