[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Declarations and Initializations - Discussion

Home > C Programming > Declarations and Initializations > MCQs Questions Discussion

9 / 54

What is the output of the following code?

#include <stdio.h>
void main()
{
int a=0, b=0;
a = (b =75)+9;
printf("\n%d, %d ",a,b);
}

A75, 9

B75, 84

C84, 75

DNone of these Options

Answer: Option (Login/Signup)

Show Explanation

a = (b =75) 9;......b value is assigned to 75 so a value will become 75+9= 84.



final value will become a=84 and b=75

Asked In :: Nagarro

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here