| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| i want to know aptitude questions,technical questions | | 2 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| Explain the differences between public, protected, private
and internal. | | 1 |
| write a program for even numbers? | | 8 |
| plz answer....A program that takes 3 variables e.g a,b,c in
as seperate parameters and rotates the values stored so
that value goes a to b, b to c and c to a . | | 3 |
| How to calculate Total working time using Login and
logout? | Wipro | 2 |
| 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? | | 3 |
| which will be first in c compiling ,linking or compiling
,debugging. | Sonata | 3 |
| 4.A function 'q' that accepts a pointer to a character as
argument and returns a pointer to an array of integer can
be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above
| Accenture | 4 |
| write a programme that inputs a number by user and gives
its multiplication table. | | 2 |
| what is the use of getch() function in C program..
difference b/w getch() and getche()?? | Wipro | 12 |
| could u able to tell about suresoft technical session | | 1 |
| write a c program to print the values in words
eg:- 143 written it has (one hundred and forty three)&
104, 114 are also written words | | 1 |
| macros and function are related in what aspect?
a)recursion b)varying no of arguments
c)hypochecking d)type declaration
| HCL | 8 |
| swap two integer variables without using a third temporary
variable? | | 2 |
| write a function which accept two numbers from main() and
interchange them using pointers? | | 3 |
| write a function for strtok()?? | Verifone | 1 |
| what does the following code do?
fn(int n,int p,int r)
{
static int a=p;
switch(n){
case 4:a+=a*r;
case 3:a+=a*r;
case 2:a+=a*r;
case 1:a+=a*r;
}
}
a.computes simple interest for one year
b.computes amount on compound interest for 1 to 4 years
c.computes simple interest for four year
d.computes compound interst for 1 year
| TCS | 4 |
| what is a far pointer | TCS | 9 |
| what is the benefit of c30 | | 1 |
| |
| For more C Interview Questions Click Here |