| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
| TCS | 10 |
| How can I read a directory in a C program? | | 1 |
| wap in c to accept a number display the total count of digit | | 4 |
| write the program for prime numbers? | TCS | 7 |
| How to implement variable argument functions ? | HP | 1 |
| Program to display given 3 integers in ascending order | N-Tech | 1 |
| 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 | 1 |
| 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 | 2 |
| i want to know aptitude questions,technical questions | | 1 |
| how to find that no is int or float? | | 4 |
| explain memory layout of a C program | | 1 |
| Which of the following data structures is on average the
fastest for retrieving data:
1) Binary Tree
2) Hash Table
3) Stack
| | 3 |
| plz answer..... a program that reads non-negative integer
and computes and prints its factorial | | 1 |
| Given an array of characters, how would you reverse it? How
would you reverse it without using indexing in the array? | | 1 |
| #define f(x)
main()
{
printf("\n%d",f(2+2));
} | | 3 |
| why java is called as a purely oops language. | | 2 |
| related to rdbms query . | | 1 |
| what is dangling pointer? | LG-Soft | 1 |
| What is the output for the program given below
typedef enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf("%d",g1);
}
| ADITI | 2 |
| Which of these statements are false w.r.t File Functions?
i)fputs() ii)fdopen() iii)fgetpos() iv)ferror()
A)ii B)i,ii C)iii D)iv
| Accenture | 3 |
| |
| For more C Interview Questions Click Here |