C Programming and Technical Programming Definition

integer x = 0 // statement 1
integer sum = 0 // statement 2
while ( x < 10 ) // statement 3
{
sum = x*x*x // statement 4
x = x + 1 // statement 5
}
print sum // statement 6

Read Solution (Total 19)

C Other Question

main()
{
int a=10,b;
b=(a++)+(a++);
a=(b++)+(b++);
printf("a=%d and b=%d",a,b);
}

Options
1) a=43 b=21
2) a=42 b=21
3) a=43 b=23
4) a=44 b=20
*
**
***
****
**********
****
***
**
*
Logic to print this