C Interview Questions
- 0of 0 votes
AnswersWhat is Bubble Sort Algorithm? Explain with a program.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersHow can you remove duplicates in an array?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersExplain the # pragma directive.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWrite a code to print the following pattern.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersHow can you print a string with the symbol % in it?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswerWrite a program to swap two numbers without using the third variable.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWrite a C program to print hello world without using a semicolon (;).
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhat is typecasting?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhat are the different storage class specifiers in C?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersMention File operations in C Language.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhich variable can be used to access Union data members if the Union variable is declared as a pointer variable?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersCan I declare the same variable name to the variables which have different scopes?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhich statement is efficient and why? x=x+1; or x++; ?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhen should we use the register storage specifier?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhat is the difference between declaring a header file with < > and ” “?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersExplain Local Static Variables and what is their use?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhat do you mean by Memory Leak?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersCan I create a customized Head File in C language?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWrite a code to generate random numbers in C Language.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersExplain toupper() with an example.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersDifferentiate between getch() and getche().
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersDifferentiate between call by value and call by reference.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWrite a simple example of a structure in C Language
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhere can we not use &(address operator in C)?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhat do you mean by Dangling Pointer Variable in C Programming?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersWhat is Dynamic Memory allocation? Mention the syntax.
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
AnswersHow is a Function declared in C Language?
- mythili.vestino April 30, 2021 in India for HR| Report Duplicate | Flag | PURGE
vestino technologies HR Executive C - 0of 0 votes
Answera matrix contains positive integer numbers.
- amitaiweil February 03, 2020 in United States
Each column and row, which contains zero should be reset all to 0.
(The reset column/line should be skipped while iteration)
Is there a way in C for doing this without using another temp full array for knowing where the zero's which have been found exist?| Report Duplicate | Flag | PURGE
None None C - 0of 0 votes
AnswersIn an interview this question has been asked :
- linardni December 26, 2018 in India
How to fit four characters into an integer, implementation should be in C programming language.
For example, four characters, viz., 'a', 'b', 'c', and 'd' need to be fit into an integer.
I tried to answer this question using ASCII value of the characters.
Please suggest the correct solution.| Report Duplicate | Flag | PURGE
Not disclosed Tech Lead C - 0of 0 votes
AnswersA function receives a big array (about 1G).
- amitaiweil December 23, 2018 in Isreal
after manipulations done on the array it's data
will be erased. What should you're attitude be to dealing with the array? (I didn't understand totally the interviewer's meaning| Report Duplicate | Flag | PURGE
צבאד Software Engineer C