| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the diference between pointer to the function and
function to the pointer? | | 1 |
| how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf("Hi\n");
| TCS | 6 |
| IS STRUCTURES CAN BE USED WITHIN AN ARRAY? | Caritor | 7 |
| To what value are pointers initialized?
1) NULL
2) Newly allocated memory
3) No action is taken by the compiler to initialize
pointers.
| | 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 |
| what is the benefit of c30 | | 1 |
| Program to write some contents into a file using file
operations with proper error messages. | | 1 |
| Design a program using an array that searches a number if it
is found on the list of the given input numbers and locate
its exact location in the list. | | 3 |
| wap in c to accept a number display the total count of digit | | 4 |
| main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
} | NDS | 12 |
| why you will give me a job in TCS. | TCS | 5 |
| what is a headerfile?and what will be a program without it
explain nan example? | Assurgent | 2 |
| i want to know aptitude questions,technical questions | | 1 |
| 2.main
{
int x,j,k;
j=k=6;x=2;
x=j*k;
printf("%d", x);
| HCL | 6 |
| What character terminates all strings composed of character
arrays?
1) 0
2) .
3) END
| | 3 |
| 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? | | 2 |
| WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
| | 3 |
| how many times of error occur in C | | 7 |
| How the processor registers can be used in C ? | HP | 4 |
| Write a program for deleting duplicate elements in an array | Subex | 1 |
| |
| For more C Interview Questions Click Here |