Here are some frequently asked C language questions for freshers:
- Difference between declaration & definition of function
- Features of C language
- Different storage class specifiers in C
- Difference between local variable & global variable
- What are variables in C
- Use of static variable
- Uses of pointers
- What is recursion
- Local static variables? What is their use?
- Array? Explain Array
- Differences b/w array & pointer?
- Define the OOPS concept.
- malloc() vs calloc()
- Define pointer on pointer
- Define NULL pointer
- Define structure
- Difference between far and near pointer
- Operator in C
- Bitwise operator
- Difference between class and object
The tip here: If the interviewer wants to conduct an interview through VIVA format, he mostly asks you about differences. For example differences between array and pointer, differences between C and JAVA, Different variables in C, etc.,
Must read concepts: (Never Miss these)
- Pointers
- Arrays and Strings
- Structures
- Data Structures
- Functions, Operators
Most Predicted Programs to be answered:
- Fibonacci Series
- Prime numbers
- Palindrome
- Factorials
- Armstrong
- Sum of the digits
- Swap two numbers
- Matrix multiplication
- Alphabet triangle
- Write an example program for Pointers
- Example program for Arrays
- Example program for structures
- Bubble sort
- Convert an array into a zig-zag
Tips: If you don’t know the question that the interviewer asked you to solve humbly just tell him. Don’t bluff and waste his time. He may reject you for this reason. If you know the program but forgot the logic, just say him and if he allows, start writing confidently.
-Krishna (FrontlinesMedia)