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

TOP 5 funny mistakes C programmers do in the beginning

Правка en1, от mahmud1002, 2016-07-21 21:20:19

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... :)

Теги funny blog

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский mahmud1002 2016-07-21 21:20:19 544 Initial revision (published)