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 23114

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

4 11150

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

NIIT, AITH,

5 12581




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 9220

who did come first hen or agg

Infosys,

15 8572

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

Wipro, HCL, IBM,

23 23524

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

TCS,

6 24331

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

5 3519




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

6 3418

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

5 3925

what is the function of void main()?

8 21908

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 11075

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

Infosys, Satyam, Vivekanand Education Society, HP,

15 45103

what is a static function

Satyam,

10 7225

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,

1076


Post New C Questions






Un-Answered Questions { C }

1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

868


the question is that what you have been doing all these periods (one year gap)

913


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

973


given post order,in order construct the corresponding binary tree

1603


What is the code for 3 questions and answer check in VisualBasic.Net?

967






char *p="name"; printf(p);

655


Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include #include #include #include int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }

861


plz let me know how to become a telecom protocol tester. thank you.

986


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

207


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.

1053


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

572


code for find determinent of amatrix

671


write a program to generate address labels using structures?

1460


c program to compute AREA under integral

961


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 .

1076