Note 1

Take Note:

Take a note while surfing.





Note With Ink

Give your Note a Colorful Tag.




Easy to Access

Stay on same information and in Sync wherever you are.

Note 2

Take Note:

Organize your information,It may take Shape.





Think With Ink

Differ your Content by Color.




Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3

Take Note:

Don't Let information to miss,Because it take shape





Note With Ink

Simple an Easy Way to take a note.




Easy to Access

Get the same in next visit.

C Programming :: Operators Expressions

Home > C Programming > Operators Expressions > General Questions

1. #include
int main()
{
int x=20,y=35;
x=y++ + x++;
y=++y + ++x;
printf("%d %d",x,y);
return 0;
}

Answer: 57,94

Explanation:

Here is no explanation for this answer

Workspace

Tags:

No Tags on this question yet!

2. What will be value of count after the following C program is executed?

void main()
{
int count, digit = O;
count= 1;
while (digit <= 9){
printf ("%d/n", ++count);
++ digit;
}

Answer: 11

Explanation:

Here is no explanation for this answer

Workspace

Tags:

No Tags on this question yet!

3. How many times will the printf statement be executed?

void main()
{
int n; n=10;
while(n < 10){
printf ("hello");
--n;
} }

Answer: Never

Explanation:

Here is no explanation for this answer

Workspace

Tags:

No Tags on this question yet!

4. What is the final value of digit?

void main()
{
int digit
for (digit = 0; digit < = 9; ++digit)
printf ("%d/n", digit);
digit = 2*digit;
- - digit;
}

Answer: 19

Explanation:

Here is no explanation for this answer

Workspace

Tags:

No Tags on this question yet!