C Programming :: Increment-Decrement - Discussion
Home > C Programming > Increment-Decrement > MCQs Questions Discussion
22 / 45
What will be output of the following "c" code?
#include
void main()
{
int i=300;
char *ptr = &i;
*++ptr=2;
printf("%d",i);
}
void main()
{
int i=300;
char *ptr = &i;
*++ptr=2;
printf("%d",i);
}
A300
B556
C256
DCompilation Error
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!