Void test(char *s)
{
int i, d;
sscanf(s, "%i", &i);
printf("%s converts to %i using %%i\n", s, i);
sscanf(s, "%d", &d);
printf("%s converts to %d using %%d\n", s, d);
}
int main()
{
test("123");
test("0x123");
return 0;
}
outputs:
123 converts to 123 using %i
123 converts to 123 using %d
0x123 converts to 291 using %i
0x123 converts to 0 using %d
As you can see, %i is capable of parsing hexadecimal, whereas %d is not. For printf they're the same.
I'd choose B as the answer.
Our entire social lives these days are mediated and we are now leaving in a mediated era. Social media, for instance, has profoundly influenced in inter-personal communication. Options A and D contributes to the interaction and the fulfillment of peoples’ social needs and social media has become a preferred mode of communication with the rise of digital and mobile technologies. Social media has negatively impacted and reduced face to face interactions of human beings, whether business wise or through personal communication. Option C also illustrates an effect of media on human communication, which only leaves us with option B