Question 4.
Write the output
following Program.
for
the
#include<stdio.h>
#include<conio.h>
void main()
{
int a=40,b=22, c=10, d =20, m;
clrscr();
m = (a>b) || (c<d);
m += 6;
printf("The value of m is %d",
m);
getch();
}
Answers
Answered by
2
Answer:
#include<stdio. h> int c[10] = {1,2,3,4,5,6,7,8,9,10}; main() { int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b); }
Explanation:
please follow me
Similar questions
Biology,
3 months ago
Computer Science,
3 months ago
English,
3 months ago
World Languages,
7 months ago
English,
7 months ago
English,
11 months ago
Math,
11 months ago
Computer Science,
11 months ago