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.


Please wait...

  Take Quiz (Monsoon) Beta Version !!
  Do You have Qs. in your Mind ??? Ask it as Qs. or MCQs or create it as polling Live Now !!

C Programming :: Operators Expressions

Home > C Programming > Operators Expressions > General Questions

1 / 7

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

Answer: Option D

Explanation:

Here is no explanation for this answer

Workspace

2 / 7

 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: Option D

Explanation:

Here is no explanation for this answer

Workspace


Tags:  No Tags on this question yet!

3 / 7

 How many times will the printf statement be executed?

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

Answer: Option A

Explanation:

Here is no explanation for this answer

Workspace


Tags:  No Tags on this question yet!

4 / 7

 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: Option A

Explanation:

Here is no explanation for this answer

Workspace


Tags:  No Tags on this question yet!

5 / 7

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

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace


Tags:  Global Edge

6 / 7

 Predict the output of following "C" code:

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

Answer: Option A

Explanation:

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

Workspace


Tags:  TCS

7 / 7

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

Answer: Option D

Explanation:

Here is no explanation for this answer

Workspace


Tags:  TCS