Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя mahmud1002

Автор mahmud1002, история, 8 лет назад, По-английски

TOP 5 funny mistakes C programmers do in the beginning ... the reason its funny coz most compiler doesnt count it as a error... rookie coder spend hours to find the problem in their code and then find it and think about kicking themselves... even u might have done one of them in ur early days :P

  1. scanf("%d %d",a,b);

  2. scanf("%c%c%c",&a,&b,&c);

3.scanf("%c",&a); gets(a);

4.if(a=1)printf("YES");

5.sum=b+c; printf("%d",&sum);

tell me if i missed some... :)

  • Проголосовать: нравится
  • -32
  • Проголосовать: не нравится

»
8 лет назад, # |
  Проголосовать: нравится +17 Проголосовать: не нравится

6.) make senseless blogs