Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

1046

What is the heap in c?

1077

How can I make it pause before closing the program output window?

1038

Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1002

How can I split up a string into whitespace-separated fields?

1055

What is hashing in c language?

1307

Why doesnt this code work?

1058

Why doesnt long int work?

1035

What are pragmas and what are they good for?

993

How can I read in an object file and jump to locations in it?

1029

How do I convert a string to all upper or lower case?

1109

Why does everyone say not to use scanf? What should I use instead?

1422

How can I invoke another program or command and trap its output?

1095

How can I list all of the predefined identifiers?

982

What does the message "automatic aggregate intialization is an ansi feature" mean?

1186


Post New C Questions

Un-Answered Questions { C }

WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2377


What is a class c rental property?

1091


What is difference between array and structure in c?

1185


Explain what is wrong with this statement? Myname = ?robin?;

1581


How are 16- and 32-bit numbers stored?

1288


How are strings stored in c?

1017


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

1115


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

2093


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

2240


What are structure members?

1090


What are formal parameters?

1115


What is the difference between the expression “++a” and “a++”?

1232


Where are c variables stored in memory?

1067


What is ambagious result in C? explain with an example.

2630


What are data structures in c and how to use them?

1170