Solve This (? + ? + ?=30)
If 1111=R, 2222=T, 3333=E, 4444=N Then 5555=?
Guess the Hindi Muhawara from the following whatsapp Emoticons?
Sweet, Medicine, Film, Girl, City, Car, Place, Doggy all are name same, guess which word it is?
A girl is blind, deaf, dumb and uneducated too. A boy loves her. How would he propose without touching her?
Four Question, One Answer: One River Name, One Flower Name, One Film Name, One Actress Name?
Guess me who am I, I am the first on earth, the second in heaven...
Which Indian cricketer is known as "Brown Bradman"?
The island cities of Ceuta and Melilla claimed by Spain are on the coast of what country?
What was the nickname of tennis player Mark Philippoussis?
I have a weird requirement and have no clue. I have a variable in C which I want to get it using scanf or something similar but say in pace of integer if one enters non-integer then program should restart.
If the code is in embedded, some hardware changes may also be required whereby, you pull ON/OFF of an IO pin, which in turn tied to the reset pin of the controller/processor, with additional circuit to pull OFF/ON of the reset pin automatically (once reset done, MCU/MPU goes OFF, which need to be started).
If the code is in non-embedded (say PC), you need to structure the code such that an infinite loop continuously runs inside main with multiple conditions (one of the condition to check user input) and you can re-initialize all the variables, and continue executing rest of the code.
Use your imagination and try to draw on paper (flow chart) of what happens in the code, and try to introduce your condition in the flow chart. You will arrive at the answer for your question.
Given input as a string, return an integer as the sum of all numbers found in the string
Output : 1 + 23 + (-7) = 17
Input: My SpAce
Output: mY sPaCE
Forgot Your Password?
2018 © Queryhome