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

What is a macro, and explain how do you use it?

1124

How can you restore a redirected standard stream?

1173

How can I avoid the abort, retry, fail messages?

1183

What happens if you free a pointer twice?

1134

How do you view the path?

1182

What is the difference between #include and #include 'file' ?

1118

How does free() know explain how much memory to release?

1109

How do you sort filenames in a directory?

1236

What is operator promotion?

1130

How can a program be made to print the line number where an error occurs?

1134

How arrays can be passed to a user defined function

1069

explain how do you use macro?

1207

What is the concatenation operator?

1208

Explain what are bus errors, memory faults, and core dumps?

1315

How do you determine a file’s attributes?

1134


Post New C Questions

Un-Answered Questions { C }

In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

2526


Where we use clrscr in c?

1186


Can a pointer point to null?

1118


What is array of structure in c?

1253


What does node * mean?

1304


how can use subset in c program and give more example

2047


What is memcpy() function?

1167


Why does this code crash?

1144


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

2153


What is a void pointer in c?

1158


Do you know pointer in c?

1107


Explain what is the stack?

1157


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2498


What are the different types of C instructions?

1372


What is the description for syntax errors?

1216