Answer: filename and extension.
Explanation:
Suppose we have %~nxa, where we have two modifiers n and x, and a single variable a.
So, the n modifier after the tilde forces the index variable to expand only to the filename(by the n modifier) and the extension(by the x modifier).
It produces the filename and extension instead of the full path.
Answer:

Explanation:
Given

Required
Write an equivalent expression in C
The given expression uses + and + is represented as + in C
So: The equivalent expression is

However, C supports compound assignment operators
So:
can be rewritten as
