3 like 0 dislike
9.3k views
Show more...
[Exercise] Coding (C) - asked in Chapter 3: Formatted Input/Output by (12.1k points)
ID: 26463 - Available when: Unlimited - Due to: Unlimited

edited by | 9.3k views

87 Answers

0 like 0 dislike
Hidden content!
#include <stdio.h>
#include <stdlib.h>

int main()
{
* ** ***** * * ** * x = 21, y = 0xa , z = 077;
* ***** *** ** * *** ** * *** ** ***
** **** ** ** * ** * * * ** * *** %d\n",x);
* ** * ** **** ** * ****** * * ** * ** ** *
*** ** * **** ** * ** *** ** * *
* * *** * * ** ***** ** * **** * *** ** **
* ** * * * * **** * * * * %x\n",y);
* *** * * ** * * ** ** *** *** **** *
**** ** ****** * *** * ** * *** ****
* ** *** **** * * * ****** **** *** * * * * **
* * ** * ******** ***** *** ******** *
*** ** ** * * *** 0;
}
answered by (-498 points)
0 0
Case 0: Correct output
0 like 0 dislike
Hidden content!
#include <stdio.h>

int main()

{
    int x = 21, y = 0xa , z = 077;
* *** *** *** **** *** * *** x);
* * ** ** * * *** * * * * ** * * * * x);
* * * * * * * *** **** ** ** *** ** * * x);
* * * * ** * * * * * **** *** ** * * x);
****** ****** ***** ** ** * * ** y);
* ** * * * *** ** * * * * * * y);
** * * * * * * ***** * ** * *** **** * * *** y);
** * * *** *** ** * ** * ** *** ** *** z);
** * * * * **** * ** *** ** * * ** * ** *** z);
* ****** ******* **** ** * * * * z);
* ** **** * * *** 0;

}
answered by (-249 points)
0 0
Case 0: Correct output
0 like 0 dislike
Hidden content!
#include <stdio.h>
int main()
{
    int x = 21, y = 0xa , z = 077;
* * ** * * * * * * * **** * *** * x);
** ** *** ** * *** * * *** * * * * x);
**** * *** ** **** *** *** **** **** * x);
* **** * ** * ** *** *** ** * * * * *** x);
** ** ******* ** ** * * *** * * ****** y);
* * *** ***** * ** * * * * ****** y);
***** ** * * *** * ** ** ** ** * * y);
*** ** * ***** **** * * ** ** * ** z);
*** ** ** ***** * ** * * **** * ****** * * ** z);
** * ** ***** ** ** * * * *** * * * z);
*** * * **** ** ** * * *** 0;
}
answered by (-168 points)
0 0
Case 0: Correct output
0 like 0 dislike
Hidden content!
#include <stdio.h>
int main()
{
* ** * *** * ****** ** x = 21, y = 0xa , z = 077;
*** ** * * ** * *** * * *** * * ****** ** ** x);
** ** ***** ** ** * ** * *** * %3d\n", x);
** * * * ** * **** * *** ** ***** * * **** x);
* * * * ** *** * *** ******* * * * x);
** ** * ** * * * ** **** ***** ** * * y);
* * * ** ** ** **** ** ** * %x\n", y);
* ** ** ** * * * * * * * * y);
* *** * *** * ** ** * ** * * ***** * * * z);
******* *** * * * *** ** * * * * * * ***** z);
* * * * ****** ** * * ** **** * ** z);
*** * ** * * * * * * * 0;
}
answered by (-168 points)
0 0
Case 0: Wrong output
0 like 0 dislike
Hidden content!
#include <stdio.h>
int main()
{
    int x = 21, y = 0xa , z = 077;
* **** ** * **** * * * * * * *** **** x);
** * * ****** * * ** * *** ** * * x);
* ** ** ** ****** * ** * ** **** * * ** * x);
*** ** * ** **** ** ********* * * ***** x);
* ** * *** * * **** ** ** ** * * * y);
** ** * * *** * ** *** * * * * ** * y);
* * ** * ** ** ***** * *** ***** * ** y);
** * * * ** *** ** * * ** ** * * **** *** z);
***** * * ** ** *** * **** * ******* z);
** * * * ***** *** **** * ** ***** * * z);
*** * ** **** * ** *** * 0;
}
answered by (-168 points)
0 0
Case 0: Wrong output
0 like 0 dislike
Hidden content!
** ** ** ** ** *** *
int ** *
{
int x = 21, y = 0xa , z = 077;
*** **** ** * * x);
* * ** *** ** * ** x);
* * * ****** * ** x);
* * * * ******* x);
** * **** * * ** y);
**** *** y);
*** ******** y);
*** **** * ** * ** z);
** * * **** ** * ***** z);
* * * *** ** * **** z);
* * 0;
* ** * * *
answered by (-304 points)
0 0
Case 0: Correct output
0 like 0 dislike
Hidden content!
* * * *
int ** *
{
int x = 21, y = 0xa , z = 077;
** * *** * * * x);
* * * **** *** ** * x);
** ** * * ** * x);
** * ** **** *** * x);
* *** * * ** y);
** * **** *** * y);
* * *** * * **** * * * y);
* ** * * *** z);
* * * *** * ** z);
** ** ** ** z);
* ** 0;
** * ****
answered by (-304 points)
0 0
Case 0: Correct output
0 like 0 dislike
Hidden content!
#include <stdio.h>
int main()
{
    int x = 21, y = 0xa , z = 077;
* ** * * * * ** ** * ** * * *** * * x);
** ** **** ** ** * * *** * * *** ** * * x);
* *** * * ***** ** ** * *** * ** *** ** * x);
* * * * ** **** * **** ** * ****** x);
* **** * * ** * ** * ** ** * * * * * * y);
* ***** *** * * ** * * ** **** y);
**** * * * * * ****** *** * * * y);
**** * * * * * ** * * **** * ** * **** z);
* ******** ** ********* * *** *** * ** z);
* ** *** * * ****** * **** ** * * ** * * z);
** ** *** * *** * * 0;
}
answered by (-168 points)
0 0
Case 0: Correct output
0 like 0 dislike
Hidden content!
#include <stdio.h>
int main (void)
{
    int x=21,y=0*a,z=077;
* *** *** * * ** * ** ****
* *** *** *** * * ** *** *** *** **
** ** ** * * * ** *** ** *** * *
** *** * * * * ** * * * ** ** * * ***
****** * * ** ** ** *** **** ** ****
** * ** ** ** * * * ** **
* ** ** *** ** * *** ** * * * * **
* * * ** *** * * * *** * ** *** * * * ***
* ** * * * * ** ** * * * *** * * * **** ***
*** ** *** * * * ** * * * ** ** * * **** ****
    return 0;
}
answered by (42 points)
0 0
Show more...
0 like 0 dislike
Hidden content!
#include ** *** * *
int main ()
{
** * * ** x= 21, y= oxa, z = 077;
  
* ******** ** * * ** * x);
******* ** *** %d\n", x);
* * * * * * ** **** * * x);
* * * *** ** ** * * x);
***** * * * * * ** * y);
** ** *** *** *** * * * ***** * ** y);
* * ** * * ** ***** *** **** y);
* * ** *** * * ****** * * * ** z);
************ * *** * * * * **** *** z);
* ** * * * * ** * * z);
* * * *** *
* ** * ******** * 0;
}
answered by (-167 points)
0 0
prog.c: In function 'main':
prog.c:4:17: error: 'oxa' undeclared (first use in this function)
   int x= 21, y= oxa, z = 077;
                 ^~~
prog.c:4:17: note: each undeclared identifier is reported only once for each function it appears in
prog.c:14:15: error: unknown conversion type character 0xa in format [-Werror=format=]
   printf("%.30\n", z);
               ^
prog.c:14:10: error: too many arguments for format [-Werror=format-extra-args]
   printf("%.30\n", z);
          ^~~~~~~~
cc1: all warnings being treated as errors
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.71.1.145
©2016-2025

Related questions

1 like 0 dislike
75 answers
[Exercise] Coding (C) - asked Oct 12, 2017 in Chapter 3: Formatted Input/Output by thopd (12.1k points)
ID: 26464 - Available when: Unlimited - Due to: Unlimited
| 8.1k views
3 like 0 dislike
116 answers
[Exercise] Coding (C) - asked Oct 5, 2017 in Chapter 3: Formatted Input/Output by thopd (12.1k points)
ID: 25729 - Available when: Unlimited - Due to: Unlimited
| 11.8k views
12,783 questions
183,442 answers
172,219 comments
4,824 users