Help me in solving CLB011 problem

My issue

for world only \n want to come right because after hello only world comes

Learning course: Learn C
Problem Link: Rearrange Code Practice Problem in C - CodeChef

I don’t entirely understand your problem (redaction?).

NOT criticizing!! Happy to have a new coder :smiley:

Let me remind you the fundamentals:

Functions are a set of:

  • Name
  • Parameters
  • Variables
  • Statements

And, in some languages like C:

  • variable type of return

Now, on C, you should have:

  • Variable type of return
  • Name
  • Parameters
  • Statements (that includes variables

So:

    int main(int argc, char* argv){
            int variable = 0;
    }