| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Program to trim a given character from a string. | NetApp | 4 |
| WHAT IS THE DIFFERANCE BITWIN GETS();AND SCANF(); | | 2 |
| what is diff b/w huge & far & near pointer?? | HCL | 1 |
| biggest of two no's with out using if condition statement | | 2 |
| how can i make a program with this kind of output..
Enter a number: 5
0
01
012
0123
01234
012345
01234
0123
012
01
0 | Wipro | 3 |
| write a function to find whether a string is palindrome or
not and how many palindrome this string contain? | | 1 |
| we all know about the function overloading concept used in
C++ and we all learnt abt that.... but that concept is
already came in C in a very smaller propotion ... my
question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION
OVERLOADING IS USED in C language????????????? | Google | 2 |
| write a program in 'c' to find the value of p[i+1]^n.p,i,n
are arguments of a macro and n is a integer | | 1 |
| dynamically allocate memory for linear array of n
integers,store some elements in it and find some of them | | 1 |
| Is main() function predfined or userdefined? | | 7 |
| post new interiew question and aptitude test papers | | 1 |
| 1.what are local and global variables?
2.what is the scope of static variables?
3.what is the difference between static and global variables?
4.what are volatile variables?
5.what is the use of 'auto' keyword?
6.how do we make a global variable accessible across files?
Explain the extern keyword?
7.what is a function prototype?
8.what does keyword 'extern' mean in a function declaration?
| | 1 |
| Write a program for the following series?
1
121
12321
1234321
123454321
12345654321
1234567654321
123456787654321
12345678987654321
1234567890987654321
123456789010987654321
12345678901210987654321
1234567890123210987654321
.........1234321............
..........123454321............
..........12345654321............
7
8
9
0
1
Pls............? | | 2 |
| Program to find the absolute value of given integer using
Conditional Operators | N-Tech | 2 |
| what is the difference between const volatile int i
& volatile const int j; | HCL | 2 |
| What ios diff. Between %e & %f? | Honeywell | 1 |
| to find the program of matrix multiplication using arrays | | 2 |
| What are advantages and disadvantages of recursive
calling ? | HP | 11 |
| What will be printed as the result of the operation below:
#include<..>
int x;
int modifyvalue()
{
return(x+=10);
}
int changevalue(int x)
{
return(x+=1);
}
void main()
{
int x=10;
x++;
changevalue(x);
x++;
modifyvalue();
printf("First output:%d\n",x);
x++;
changevalue(x);
printf("Second output:%d\n",x);
modifyvalue();
printf("Third output:%d\n",x);
} | | 2 |
| what is the diff b/w static and non static variables in C.
Give some examples plz. | Wipro | 2 |
| |
| For more C Interview Questions Click Here |