- When x is less than one hundred
- When x is greater than one hundred
- When x equals one hundred
- While it wants to
Test on C programming P6
Are you a fan of C programming language and want to learn about this programming language? The quiz below The network administrator has edited and sent you questions about this topic, invite you to experience.
- Question 1. When is the code block (x <100) executed?
- Question 2. How many times will the while loop repeat?
- 0
- first
- Infinite
- Turn
-
- Question 3. The return type of the function with the prototype: 'int func (char x, float v, double t);
- char
- int
- float
- double
-
- Question 4. What is the result of the following command?
#include
void main ()
{
int x = 0;
switch (x)
{
case 1: printf ("One");
case 0: printf ("Zero");
case 2: printf ("Hello World");
}
}- One
- Is not
- Hello the world
- Zero Hello World
-
- Question 5. Which of the following is the correct declaration of a cursor?
- int x
- int & x
- ptr x
- int * x
-
- Question 6. Graphic mode includes the following issues:
- How many colors
- What colors are included?
- How much is the screen resolution?
- All 3 plans on
-
- Question 7. In graphic mode, which of the following functions establishes the font type and size:
- outtextxy (int x, int int, char far * textstring);
- outtext (char far * textstring);
- settextstyle (int font, int direction, int charsize);
- All 3 answers above
-
- Question 8. What is the best thing to say about floodfill functions (int x, int y, int Border);
- Use to color a circle containing points (x, y)
- Use to color a rectangle containing points (x, y)
- Use to fill polygons containing points (x, y)
- Used to color any closed domain containing points (x, y)
-
- Question 9. The clip parameter in setviewport function (int x1, y1 int, int x2, int y2, int clip); what issue:
- Allows to display or not to display brush strokes inside viewport
- Allows to display or not to display brush strokes outside the viewport
- Both are correct
- Both are wrong
-
- Question 10. What setset (int color) function does:
- Set background color
- Set the current drawing color
- Both of these are true
- Both are wrong
-
Update 24 May 2019
You should read it
- Test on C programming P4
- Test of programming C P5
- Test about programming C P2
- Test about C programming
- Test about programming C P3
- Set of multiple choice questions about programming with P17 prize
- Set of multiple choice questions about programming with P12
- Set of multiple choice questions for programming with P8 prizes
- Set of multiple choice questions about programming with P10 prize
- A set of multiple choice questions for programming has a P2 prize
- Set of multiple choice questions about programming with P7 prize
- Set of multiple choice questions on award winning P4 programming
Maybe you are interested
Plot Mafia III: Start the journey of revenge and build a new mafia empire - P.2 Mafia in the game - Life and death with numbers, richness due to heaven Ransomware appears to require users to play PUBG for 1 hour instead of ransom Quickly register to play Age of Empires 4K upgrade version of the graphic How to log in Rules of Survival with Facebook How to play the game Overwatch 4 days for free on Tet