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

Can we initialize extern variable in c?

1138

What is int main () in c?

1091

Are negative numbers true in c?

1069

What is a static variable in c?

1129

Where static variables are stored in c?

1112

Are global variables static in c?

1169

What is scope rule of function in c?

1099

What is dynamic variable in c?

1034

What is static and auto variables in c?

1091

What is sizeof array in c?

1062

What is the purpose of void pointer?

1036

What is declaration and definition in c?

1098

What are void pointers in c?

997

What is scope of variable in c?

1046

What is difference between static and global variable in c?

1058


Post New C Questions

Un-Answered Questions { C }

What extern c means?

1005


how many key words availabel in c a) 28 b) 31 c) 32

1081


How many levels of pointers have?

1056


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

2096


What is the most efficient way to store flag values?

1192


Differentiate between ordinary variable and pointer in c.

1185


Explain what standard functions are available to manipulate strings?

1076


What are the ways to a null pointer can use in c programming language?

1137


What is a structure in c language. how to initialise a structure in c?

1067


which is an algorithm for sorting in a growing Lexicographic order

1808


Is it better to use malloc() or calloc()?

1118


How do you define a function?

1030


Are global variables static in c?

1169


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1064


What is nested structure with example?

1077