Category Archives: C

Interview Questions on Variables and Storage classes in C

What is the difference between declaring a variable and defining a variable? What is a static variable? What is a register variable? Where is an auto variables stored? What is scope & sto......

Interview Questions on Pointers in C

What is a pointer in C? What are the advantages of using pointers? How is pass by reference achieved using pointers in C? What are the differences between malloc() and calloc()? How to use r......

Answers to Twitter Quiz -2 on C language

This quiz is a past event on Twitter. Twitter Quiz is unique format of quiz conducted by Interview Mantra. It is a short quiz of 10 questions. This quiz was on C Language. Read more about Interv......

Answers to Twitter Quiz -1 on C language

This quiz is a past event on Twitter. Twitter Quiz is an innovative brain child of Interview Mantra. It is a short quiz of 10 questions. This quiz was on C Language. Read more about Interview Ma......

C, SQL, UNIX interview for experienced developer @ AMDOCS

These questions were asked in a job posting at Amdocs. The job was for developers experienced in C language, SQL and UNIX. This interview lasted for 30 minutes. Answers to these questions would ......

First Interview Experience of a Fresh Graduate

This is a recorded Interview conducted for a Job posting of Junior Software Engineer at a Multi National Company. The company’s core business is Information Technology outsourcing. The job......

Answers to Twitter Live quiz-3 on C

This is a recorded twitter quiz. @ajlopez, won this quiz. More Details about this quiz Question1: In C statement, int _new_var; The variable name is not valid and it results in a compilat......

Twitter Live Quiz on C language -3

What: Interview Mantra Quiz-3 is a live, interactive quiz on twitter and facebook. 10 multiple choice questions would be asked one after another. Answer to each question would be published withi......

Define vs declare a variable, formal vs actual arguments, getchar vs scanf, break vs continue

Question.61 (main function), Question.62 (define vs declare),Question.63 (formal vs actual arguments) test whether the candidate knows basics of C programming. Question.64 (getchar vs scanf) tes......

C Interview Programs to print number patterns

This post has few of basic number pattern programs in C. Question.56(multiplication table) tests the ability to convert an elementary algorithm into a program. Question.57, Question.58 are prog......