#include
void main ()
{
int i;
for (i = 2;; ++) printf ('% 3d', i);
};
-
Infinite loop
-
' 2'
-
' twelfth'
-
Other results
The following network administrators will continue to send you interesting questions about programming. If you love this topic, then try your knowledge.
#include
void main ()
{
int i;
for (i = 2;; ++) printf ('% 3d', i);
};
#include
void main ()
{
int sum;
sum = 453 + 343
printf ('Ket la:' sum);
};
#include
void main ()
{
int i, j;
for (i = 1; i <4; i ++) j = i; printf ('% 3d', j);
};
#include
void main ()
{
int a = 40, b = 4;
while (a! = b)
if (a> b) a = ab; else b = three; printf ('% d', a);
};
#include
void hoanvi (int * px, int * py)
{
int z; z = * px;
* px = * py;
* py = z;
};
void main ()
{
int a = 15, b = 21; Festival (a, b); printf ('% d% d', a, b);
};
#include
void hoanvi (int px, int py)
{
int pz;
pz = px; px = py; py = pz;
};
void main ()
{
int a = 15, b = 21; Festival (a, b);
printf ('% d% d', a, b);
};
#include
void main ()
{
char * s;
s = 'waving boards'; strcpy (& s [5], & s [9]); printf ('% s', s);
};
#include
void main ()
{
int a = 100, b = 6; double f;
f = (double) a / (double) b; printf ('% 2.2f', f);
};
'16'.
'16 .00 '.
'16 .67 '.
You've just finished reading the article "Set of multiple choice questions about programming with P6" edited by the TipsMake team. You can save this article to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.