C Interview Questions
Questions Answers Views Company eMail

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

1111

Why doesn't C have nested functions?

2 6614

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

4 11578




How can I convert integers to binary or hexadecimal?

2 6812

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

ABC Telecom,

4 8295

How do I access command-line arguments?

Bosch, Wipro,

2 6071

How can I return multiple values from a function?

6 4894

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

8 19606




How can I access memory located at a certain address?

Verizon,

3 7000

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

5 9642

How can I find out how much memory is available?

Persistent,

1 6641

How can I read a directory in a C program?

Wipro, Bright Outdoor,

2 5570

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

ABC,

1 3746

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

1 8282

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

4 6883


Post New C Questions






Un-Answered Questions { C }

the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

16470


C program to find all possible outcomes of a dice?

1166


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

1790


what will be the output for the following main() { printf("hi" "hello"); }

5255


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

1707






hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

874


what is the different bitween abap and abap-hr?

968


i got 75% in all semester am i eligible for your company

1014


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

889


write a program to concatenation the string using switch case?

817


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

535


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

1378


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

2444


write an algorithm to display a square matrix.

1364


what is the structure pointer?

924