Thank you very much.
Type: Posts; User: 2001beibei
Thank you very much.
main()
{
int i=0;
char c;
while(1)
{
c='\0';
while(c!=13&&c!=27)
{
c=getch();
But the solution on the book is given 24, which is 8+8+8. It is weird.
main()
{
int i=5,j=5,p,q;
p=(i++)+(i++)+(i++);
q=(++j)+(++j)+(++j);
printf("%d,%d,%d,%d",p,q,i,j);
}
I ran the program and it is showed 22 for q. How can I get 22 for q? Thank you very...
Yeah, I do not know ctrl-D. Thank you, Mats.
#include <stdio.h>
int main(void)
{
int blanks, tabs, newlines;
int c;
int done = 0;
int lastchar = 0;
blanks = 0;