Option A does not come under a survey because survey refers to research of collecting data about a particular topic and do insights with the collected data and then convert that an information. But option A does not research or collect data, it speaks about events and happenings.
Whereas, Option B collects information from group of people and then a decision is made. So it is a survey.
When we analyze option C, once again it collects data about the people’s mind. So it comes under survey.
Answer:
int* strikeCounter ;
int someVal;
scanf("%d", &someVal);
strikeCounter =&someVal;
*strikeCounter =someVal*4;
Explanation:
Here we took one int variable and read that value from user. we assigned that int variable address to pointer variable "strikeCounter " and we are pointing the value of strikecounter as 4 times of that integer variable value
Answer:
1. carry 1 1 1
1 0 1 1 0 1
+ 1 0 1 0 0
------------------------
Answer: 1 0 0 0 0 0 1
2. carry 1 1 1 0 1 1
0 1 0 1 0 0 1 1
+ 0 1 1 1 0 1 1 0
--------------------------
Answer: 0 1 1 0 0 1 0 0 1
3. 1 0 1 1 0 1
- 1 0 1 0 0
-------------------------
Answer: 0 1 1 0 0 1
4. 1 1 0 0 1 0 1 1
- 1 0 1 0 1 1 0
-----------------------------
Answer: 01 1 1 0 1 0 1
Explanation:
In Binary addition when you add 1 + 1 = 0, carry over the 1, i.e 10
in Subtraction when you subtract 0-1 = 1, brow 1 from left side, resulting in -1 carried over.