Computer Science, asked by varshinik, 1 year ago

Find the output of the following
#include<stdio.h>
void main()
{
int a=2,b=3,c,d;
c=a++;
d=++b;
printf(“c=%d d=%d”,c,d);
}

Answers

Answered by fpt34502
2

Answer:

output will be c=2 d=4

Explanation:

please disregard the last piece, i was in illusion. this is the correct answer.

hope you like the answer. peace

Attachments:
Similar questions