| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How do I declare an array of N pointers to functions
returning pointers to functions returning pointers
to characters?
| | 1 |
| Program to trim a given character from a string. | NetApp | 1 |
| int zap(int n)
{
if(n<=1)then zap=1;
else zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap
[a] 8 [b] 9 [c] 6 [d] 12 [e] 15
| Wipro | 6 |
| how to print "hai" in c? | | 9 |
| what is the use of using linked list and array? | Infosys | 8 |
| 1.write a program to merge the arrays
2.write efficient code for extracting unique elements from a
sorted list of array? | Qualcomm | 1 |
| long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
| HCL | 10 |
| WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
| | 3 |
| WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR
LOOPS.
A) * B) *****
*** * *
***** * *
***** | | 2 |
| What is encapsulation? | | 1 |
| Explain the differences between public, protected, private
and internal. | | 1 |
| what is difference between ++(*p) and (*p)++ | Accenture | 12 |
| write a programe returns the number of times the character
appears in the string | | 1 |
| how to find out the inorder successor of a node in a tree?? | TCS | 2 |
| what is the difference between #include<stdio.h> and
#include"stdio.h" ? | TCS | 4 |
| what is object oriental programing? | | 1 |
| the operator for exponencation is
a.**
b.^
c.%
d.not available
| TCS | 4 |
| How can I return multiple values from a function? | | 3 |
| How can I set an array's size at run time? | | 7 |
| what is a headerfile?and what will be a program without it
explain nan example? | Assurgent | 2 |
| |
| For more C Interview Questions Click Here |