C Interview Questions
Questions Answers Views Company eMail

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

1073

Why doesn't C have nested functions?

2 6549

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

4 11513




How can I convert integers to binary or hexadecimal?

2 6753

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

ABC Telecom,

4 8217

How do I access command-line arguments?

Bosch, Wipro,

2 5999

How can I return multiple values from a function?

6 4814

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

8 19540




How can I access memory located at a certain address?

Verizon,

3 6918

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

5 9536

How can I find out how much memory is available?

Persistent,

1 6513

How can I read a directory in a C program?

Wipro, Bright Outdoor,

2 5519

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

ABC,

1 3673

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

1 8216

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

4 6689


Post New C Questions






Un-Answered Questions { C }

int far *near * p; means

2154


write a program for the normal snake games find in most of the mobiles.

1079


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

713


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

1135


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

718






 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.

982


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

1683


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1026


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

1429


provide an example of the Group by clause, when would you use this clause

897


what is a function method?give example?

1058


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

1205


how do you programme Carrier Sense Multiple Access

779


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

2867


what is uses of .net

484