what are the interview question's in the language c
Answers were Sorted based on User's Feedback
Interview questions in C would be :
- what are pointers?
- what do the .h files mean?
my fav ques - which i will always ask is :
** what is the differance between a[0] and *a.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / mallik
a[0] represents only that value at 0 location,but *a
represents the address of that variable stored
| Is This Answer Correct ? | 0 Yes | 0 No |
pgm to reverse string using arrays i.e god is love becomes love is god) (assumption:only space is used for seperation of words) no addtional memory used.i.e no temporary arrays can used.
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Define C in your own Language.
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
Explain what is meant by 'bit masking'?
what is difference between overriding and overloading?
Is it better to use malloc() or calloc()?
write a program to display the frequency of each element in a given array in c language
What does. int *x[](); means ?
what is the most appropriate way to write a multi-statement macro?
What is nested structure in c?
Which one would you prefer - a macro or a function?