Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following C code?
#include < stdio.h >
int main()
{
printf(“%d”, d++);
}
int d = 10;

What will be the output of the following C code?
#include < stdio.h >
int main()
{
printf(“%d”, d++);
}
int d = 10;
a) 9
b) 10
c) 11
d) Compile time error

Answer: d

Join The Discussion