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
Related Posts
Which of the following is the correct difference between cin and scanf()?
Which of the following is C++ equivalent for printf()?
Which of the following is C++ equivalent for scanf()?
What is the size of a boolean variable in C++?
Which of the following is not a fundamental type is not present in C but present in C++?
Which of the following approach is used by C++?
Which of the following explains the overloading of functions?
Join The Discussion