Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1040

writ a program to compare using strcmp VIVA and viva with its output.

1050

what is the diffrenet bettwen HTTP and internet protocol

992

Write a program to produce the following output in c language? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

2 3937

write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?

1 2226

#include int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain ؟؟؟

4 3255

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 ?????? */ }

1194

Consider the following C program. #include int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain

2 3300

about c language

1116

Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

Convergys,

2160

what is c programming?

TCS,

3 3114

what is c++ programming?

TCS,

3 2844

write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?

TCS,

1 2494

How will you allocate memory to double a pointer?

1 2399

How will you find a duplicate number in a array without negating the nos ?

1201


Post New C Questions






Un-Answered Questions { C }

What is structure data type in c?

147


What are the uses of a pointer?

227


What is the significance of scope resolution operator?

256


What is difference between arrays and pointers?

164


What are the 5 data types?

153






What is enumerated data type in c?

171


What is void main () in c?

210


Explain how does flowchart help in writing a program?

199


How do I swap bytes?

186


What are Macros? What are its advantages and disadvantages?

208


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

3797


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

1201


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1180


Tell me can the size of an array be declared at runtime?

177


Who developed c language and when?

171