A woman had somany gloves and hats 22 red,34 blue, 45
white...there was power cut and she took a glove and how
many gloves shud she take so that she gets a pair of glove
fr each color??
Answer Posted / gowtham
22+34+1=57
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What are the two types of structure?
What is ctrl c called?
How can I read/write structures from/to data files?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
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
What is the purpose of scanf() and printf() functions?
Explain what are preprocessor directives?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is the condition that is applied with ?: Operator?
Where static variables are stored in c?
How can a process change an environment variable in its caller?
application attempts to perform an operation?
Write a program to generate random numbers in c?
Apart from dennis ritchie who the other person who contributed in design of c language.