| Other C Code Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Given a list of numbers ( fixed list) Now given any other
list, how can you efficiently find out if there is any
element in the second list that is an element of the
first list (fixed list) | Disney | 2 |
| Finding a number multiplication of 8 with out using
arithmetic operator | NetApp | 7 |
| programming in c lanugaue programm will errror error with
two header file one as stdio.h and other one is conio.h | | 1 |
| Find your day from your DOB? | Microsoft | 11 |
| Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2)
without making use of any floating point computations at all. | Microsoft | 2 |
| How to return multiple values from a function?
| | 4 |
| Write, efficient code for extracting unique elements from
a sorted list of array.
e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).
| Microsoft | 8 |
| Given an array of size N in which every number is between 1
and N, determine if there are any duplicates in it. You are
allowed to destroy the array if you like. | Microsoft | 8 |
| how can u draw a rectangle in C | Wipro | 24 |
| Given n nodes. Find the number of different structural
binary trees that can be formed using the nodes. | Aricent | 3 |
| How do you write a program which produces its own source
code as its output?
| | 4 |
| write a program to Insert in a sorted list | Microsoft | 4 |
| String copy logic in one line. | NetApp | 7 |
| how to return a multiple value from a function? | Wipro | 1 |
| To Write a C program to remove the repeated characters in
the entered expression or in entered characters(i.e)
removing duplicates. | Synergy | 2 |
| How to access command-line arguments? | | 4 |
| Given only putchar (no sprintf, itoa, etc.) write a routine
putlong that prints out an unsigned long in decimal. | | 5 |
| Write a function to find the depth of a binary tree. | Adobe | 4 |
| write the function. if all the character in string B appear in
string A, return true, otherwise return false. | Google | 7 |
| How to reverse a String without using C functions ? | Wipro | 8 |
| |
| For more C Code Interview Questions Click Here |