C Interview Questions
Questions Answers Views Company eMail

How can I find the day of the week given the date?


Why doesn't C have nested functions?

2 6399

What is the most efficient way to count the number of bits which are set in a value?

4 11402

How can I convert integers to binary or hexadecimal?

2 6646

How can I call a function, given its name as a string?

ABC Telecom,

4 8101

How do I access command-line arguments?

Bosch, Wipro,

2 5826

How can I return multiple values from a function?

6 4687

How can I invoke another program from within a C program?

8 19411

How can I access memory located at a certain address?


3 6783

How can I allocate arrays or structures bigger than 64K?

5 9318

How can I find out how much memory is available?


1 6386

How can I read a directory in a C program?

Wipro, Bright Outdoor,

2 5442

How can I increase the allowable number of simultaneously open files?


1 3593

What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?

1 8069

Is the following code legal? struct a { int x; struct a b; }

4 6351

Post New C Questions

Un-Answered Questions { C }

write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .


write a program to print data of 5 five students with structures?


Which driver is a pure java driver


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.


Write a Program to accept different goods with the number, price and date of purchase and display them


can we change the default calling convention in c if yes than how.........?


about c language


A set of N billiard balls are set on a one-dimensional table. The table is 1 meter long, set north-south with two pockets at either side. Each ball has zero width and there is no friction so it is moving with a fixed velocity of either northward or southward and bounces back in a perfect elastic collision from other balls it encounter on its way (or drop into one of the pockets). Your job is to keep track of the balls movements. Task Please write a program that gets the initial place, speed and direction of all the balls and gives the position of a specific ball after t seconds. Input The first line contains the number of scenarios. Each one of the other lines in the input contains a scenario: The first number, N, is the number of balls; followed by N pairs of numbers: the distance in centimeters from the south end of the table and the speed (positive speed meaning it moves northward); the last two numbers are the number i of the target ball you should track and the time T in seconds. Output The output is a single number for each line which is the place (distance in centimeters from the south end of the table) of the tracked ball after T seconds. Note: There is no new line character at the end of the result. Sample Input 5 1 50 1 1 1000 1 50 1 1 6 1 60 -2 1 6 2 10 1 95 -1 2 30 2 10 1 95 -1 2 60 Sample Output 100 56 48 65 70


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.


can any one provide me the notes of data structure for ignou cs-62 paper


write an algorithm to display a square matrix.