| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how to sort two array of characters and make a new array of
characters. | Accenture | 1 |
| Write a C program that reads a series of strings and prints
only those ending in "ed" | | 2 |
| 6. Which of the Following is not defined in string.h?
A)strspn()
B)strerror()
C)memchr()
D)strod()
| Accenture | 1 |
| what is the return value (status code) of exit() function....
what the arguments(integer value) passed to it means.... | TCS | 1 |
| what is use#in c | | 3 |
| what is compiler | | 5 |
| which of the following statements is incorrect
a.typedef struct new{
int n1;
char n2;
} DATA;
b.typedef struct {
int n3;
char *n4;
}ICE;
c.typedef union {
int n5;
float n6;
} UDT;
d.#typedef union {
int n7;
float n8;
} TUDAT;
| TCS | 5 |
| In scanf h is used for | BFL | 2 |
| what are the general concepts of c and c++ | | 1 |
| which one is highest Priority in c?
a)=,b)+,c)++,d)== | | 3 |
| program to find middle element of linklist? | Huawei | 1 |
| Binary tree traversing | Qualcomm | 1 |
| What is the difference between static and global variables? | | 1 |
| What is function pointer and where we will use it | NetApp | 1 |
| Write a C program to print 1 2 3 ... 100 without using
loops? | | 5 |
| write a program to print sum of each row of a 2D array.
| | 2 |
| convert 12345 to 54321 withoutusing strig | | 3 |
| 44.what is the difference between strcpy() and memcpy()
function?
45.what is output of the following statetment?
46.Printf(“%x”, -1<<4); ?
47.will the program compile?
int i;
scanf(“%d”,i);
printf(“%d”,i);
48.write a string copy function routine?
49.swap two integer variables without using a third
temporary variable?
50.how do you redirect stdout value from a program to a file?
51.write a program that finds the factorial of a number
using recursion? | | 3 |
| What is an volatile variable? | HP | 12 |
| write a program to insert an element at the specified
position in the given array in c language | IBM | 2 |
| |
| For more C Interview Questions Click Here |