Discussion :: Testing New
-
Determine Output:
void main()
{
char *p;
p="%dn";
p++;
p++;
printf(p-2, 300);
}
Answer : Option B
Explanation :
The pointer points to % since it is incremented twice and again decremented by 2, it points to '%d\n' and 300 is printed.
Be The First To Comment