11. |
What is the putput? void main() { float a=654.1239; printf("%0.3f",a); }
|
||||||||
Answer:
Option (d) |
12. |
Choose a C formatted Input-Output function below.
|
||||||||
Answer:
Option (d) |
13. |
Which operator if used to compare two values?
|
||||||||
Answer:
Option (b) |
14. |
The Operator '&' is used as
|
||||||||
Answer:
Option (b) |
15. |
Which of the following is a valid relational operator?
|
||||||||
Answer:
Option (c) |
16. |
What will be the value of variable a? float a = 3.5+4.5;
|
||||||||
Answer:
Option (a) |
17. |
If we want to increment the value of sum by 1. Which of following should be used?
|
||||||||
Answer:
Option (d) |
18. |
What will be the value of variable a? int a = 3.5+4.5;
|
||||||||
Answer:
Option (c) |
19. |
Which of the following is a valid assignment operator?
|
||||||||
Answer:
Option (d) |
20. |
What will be the value of variable b?
int a; int b; a=1; b = ++a;
|
||||||||
Answer:
Option (b) |