[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 :: Library Functions - Discussion

Home > C Programming > Library Functions > MCQs Questions Discussion

2 / 4

What will be the output of following C program.

#include<stdio.h>
void main()
{
sum=0 
for (i=100 , i<0 , i++)
sum += abs(i);
printf("%d", sum)
}

A100

B5050

C-5050

D-100

Answer: Option (Login/Signup)

Show Explanation

Above answerss are incorrect. 



The Expected answer either the 0 or Compilation error,

Asked In ::

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