| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| two variables are added answer is stored on not for third
variable how it is possible? | | 2 |
| palindrome for strings and numbers----Can anybody do the
prog? | TCS | 5 |
| write a c program to check weather a particluar bit is set
or not? | IBM | 2 |
| Implement a function that returns the 5th element from the
end in a singly linked list of integers in one pass. | Microsoft | 2 |
| how to find sum of digits in C?
| CTS | 8 |
| WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE? | IBM | 4 |
| give one ip, find out which contry | Google | 4 |
| What is the output of the following program
#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
} | ADITI | 2 |
| How to add two numbers without using arithmetic operators? | Sapient | 7 |
| how to implement stack work as a queue? | | 2 |
| C program to find frequency of each character in a text
file? | | 1 |
| Reverse the part of the number which is present from
position i to j. Print the new number.
eg:
num=789876
i=2
j=5
778986 | | 1 |
| 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 |
| Program to write some contents into a file using file
operations with proper error messages. | | 1 |
| How to avoid structure padding in C? | Tech-Mahindra | 4 |
| What is the difference between null pointer and the void
pointer? | | 2 |
| write a program to swap Two numbers without using temp variable. | HP | 16 |
| can anyone please tell me wat is backlogs... i was looking
for the job openings where i read this.. eligibility
criteria minimum 70% in degree without backlogs. is that
arrear.. if so is it standing arrear or history of
arrears... please help me... | | 2 |
| Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
| Accenture | 2 |
| Here is alphabets : abcdefgh
1) how to reverse. as hgfedcba
2) after reversal, how to group them in a pair hg fe dc ba.
| | 1 |
| |
| For more C Interview Questions Click Here |