[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

47 / 54

What is the output of the following 'C' program ?

#include<stdio.h>
int main()
 {
 int i = 10 ; 
 printf("%d\n", i/2 );
 
 }

A10

B5

Cerror

Dwarning

Answer: Option (Login/Signup)

Show Explanation

Hence, the output is 5.

Asked In :: Global Edge

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here