Question
void main()
{
int a, b = 5, c;
a = 5 * (b++);
c = 5 * (++b);
printf("%d %d",a,c);
}
a.
30 35
b.
30 30
c.
25 30
d.
25 35
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the output of this program?
Similar Questions
Discover Related MCQs
Q. What is size of int in C ?
View solution
Q. Range of double is -1.7e-38 to 1.7e+38. (in 16 bit platform - Turbo C under DOS)
View solution
Q. Array is ______ datatype in C Programming language.
View solution
Q. Which of the following is not a logical operator?
View solution
Q. Which of the following can have different meaning in different contexts?
View solution
Q. Which of the following is not a valid declaration in C?
1. short int x;
2. signed short x;
3. short x;
4. unsigned short x;
View solution
Q. The minimum number of temporary variable needed to swap the content two variables is?
View solution
Q. The precedence of arithmetic operators is (from highest to lowest)?
View solution
Q. How would you round off a value from 6.66 to 7.0?
View solution
Q. The format identifier %i is also used for _____ data type?
View solution
Q. In expression i = g() + f(), first function called depends on __________
View solution
Q. Which of the following is correct Associativity for == operator?
View solution
Q. Which of the following operator has highest Precedence?
View solution
Q. Which of the following operator has lowest Precedence?
View solution
Q. Which of the following has same Precedence?
A. ++
B. ->
C. !
View solution
Q. Identify wrong C Keywords below.
View solution
Q. Find a correct C Keyword below.
View solution
Q. Find a correct C Keyword.
View solution
Q. Types of Integers are
View solution
Q. Types of Real numbers in C are
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!