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)
}
#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 ::
STEP-BY-STEP
Above answerss are incorrect.
The Expected answer either the 0 or Compilation error,
Read Full Answer
Report Error
Please Login First Click Here
STEP-BY-STEP
Above answerss are incorrect.
The Expected answer either the 0 or Compilation error,
Read Full Answer
Report Error
Please Login First Click Here