6. What is the output for the below program ?
1) a=11, b=22, c
2) c = (a) + (b) + (a++) + (b++) + (++a) + (++b);
3) print ("a="+a);
print ("b="+b);
print ("C="+c); *
(5 Points)
O a=13, b=24, c=103
ac11, b=22, c=100
a=10, b=25, C=105
O None of these
Visit CapsCode
Answers
Answered by
1
Answer:
As we all know that the printf function returns the numbers of character that is going to print and scanf function returns the number of input given.
2. What will be the output of the following program?
#include <stdio.h>
int main()
{
int x = 30, y = 25, z = 20, w = 10;
printf("%d ", x * y / z - w);
printf("%d", x * y / (z - w));
return (0);
}
Options:
1. 27 85
2. 82 27
3. 27 75
4. No output
Similar questions