| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is meant by c | | 4 |
| disadvantages of realloc ? | HCL | 1 |
| biggest of two no's with out using if condition statement | | 2 |
| Difference between null pointer and dangling pointer? | Wipro | 3 |
| Write the program for displaying the ten most frequent words
in a file such that your program should be efficient in all
complexity measures. | Google | 3 |
| what is the first address that gets stored in stack
according to a C or C++ compiler???? or what will be the
first address that gets stored when we write a C source
code???????? | Apple | 2 |
| In the following control structure which is faster?
1.Switch
2.If-else
and which consumes more memory? | | 4 |
| HOW CAN ADD OUR FUNCTION IN LIBRARY. | | 5 |
| Give a fast way to multiply a number by 7 | Microsoft | 8 |
| main()
{char a[10]={1,2,3,4,5,6};int x;
for(x=0;x<4;x++){ b[x]=x+'a';}
printf("%s",b);}
| | 3 |
| Will Macros support multiple arguments ?
| Oracle | 7 |
| how we can make 3d venturing graphics on outer interface | Microsoft | 1 |
| There is a 100-story building and you are given two eggs.
The eggs (and the building) have an interesting property
that if you throw the egg from a floor number less than X,
it will not break. And it will always brake if the floor
number is equal or greater than X. Assuming that you can
reuse the eggs which didn't broke; you got to find X in a
minimal number of throws. Give an algorithm to find X in
minimal number of throws. | | 2 |
| Write a program to accept a character & display its
corrosponding ASCII value & vice versa? | | 4 |
| Program to trim a given character from a string. | NetApp | 4 |
| what is y value of the code if input x=10
y=5;
if (x==10)
else if(x==9)
elae y=8;
a.9
b.8
c.6
d.7
| TCS | 2 |
| What should be keep precautions while using the recursion
method? | | 1 |
| Concat two string with most overlapped substring has to
remove "abcd"+ "cdef" = "abcdef | | 5 |
| what is the other ways to find a logic to print whether a
number is an even or odd wit out using % symbol??????? i
know three different ways to print it. so i need any other
different logic>>>>> | TCS | 3 |
| How to set a variable in the environment list? | | 1 |
| |
| For more C Interview Questions Click Here |