Please read the new rule regarding the restriction on the use of AI tools. ×

mahmud1002's blog

By mahmud1002, history, 8 years ago, In English

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

  • Vote: I like it
  • -32
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
  Vote: I like it +17 Vote: I do not like it

6.) make senseless blogs

  • »
    »
    8 years ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    why people r so serious here?

    • »
      »
      »
      8 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Why are you so funny?

      • »
        »
        »
        »
        8 years ago, # ^ |
        Rev. 2   Vote: I like it +8 Vote: I do not like it

        impressive graph

        • »
          »
          »
          »
          »
          8 years ago, # ^ |
            Vote: I like it +2 Vote: I do not like it

          what graph? :0

          • »
            »
            »
            »
            »
            »
            8 years ago, # ^ |
              Vote: I like it +10 Vote: I do not like it

            talking about Kerim.K's graph

            • »
              »
              »
              »
              »
              »
              »
              8 years ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              karim,what did u do after july 2014 that got u going up? i need to do that too...plz tell me..

              • »
                »
                »
                »
                »
                »
                »
                »
                8 years ago, # ^ |
                  Vote: I like it 0 Vote: I do not like it

                I know him personally, he just studies everytime, everywhere. He solves lots of problems. That's why.