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.

##### 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;
}

Explanation:

Here is no explanation for this answer

Workspace

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;
}

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;
} }

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;
}

Explanation:

Here is no explanation for this answer

Workspace

Tags:  No Tags on this question yet!

5. What is the output of the following 'C' program ?

#include
int main()
{
int k=5;
for(++k<5 && k++/5 || ++k<8);
printf("%d\n",k);
}

Explanation:

Here is no explanation for this answer

Workspace

Tags:  Global Edge

6. Predict the output of following "C" code:

main()
{
int x,a=10;
x=9*5+ 7/3 -6+a;
printf("%d",x);
}

Explanation:

45+2-6+10 = 51
7/3 =2 int division

Workspace

Tags:  TCS

7. Which among the following operator has the right to left associativity?

Explanation:

Here is no explanation for this answer

Workspace

Tags:  TCS