C Interview Questions
Questions Answers Views Company eMail

WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?

Wipro, Lovely Professional University, Finite Infotech,

6 22861

WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?

4 11038

WAP to accept first name,middle name & last name of a student display its initials?

NIIT, AITH,

5 12383




Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(“%c”, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.

Infosys, BladeLogic,

1 9151

who did come first hen or agg

Infosys,

15 8449

what is the function of .h in #include in c ?

Wipro, HCL, IBM,

23 23256

what is the difference between #include and #include"stdio.h" ?

TCS,

6 24189

main() { printf("hello%d",print("QUARK test?")); }

5 3443




main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }

6 3348

#define f(x) main() { printf("\n%d",f(2+2)); }

5 3867

what is the function of void main()?

8 21596

write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview

Satyam, Wipro, UNIS,

2 10992

what is the difference between normal variables and pointer variables..............

Infosys, Satyam, Vivekanand Education Society, HP,

15 44608

what is a static function

Satyam,

10 7153

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 .

Infosys, Aegis, CDAC,

1049


Post New C Questions






Un-Answered Questions { C }

hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

628


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

781


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


pierrot's divisor program using c or c++ code

950


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

1414






to find the closest pair

978


Write a c program to build a heap method using Pointer to function and pointer to structure ?

3406


hi any body pls give me company name interview conduct "c" language only

800


Wt are the Buses in C Language

1963


Why is event driven programming or procedural programming, better within specific scenario?

1166


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

1527


Calculate 1*2*3*____*n using recursive function??

733


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

180


Using which language Test cases are added in .ptu file of RTRT unit testing???

1291


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1128