-1
hrishi
4y

What will be the output ?

Comments
  • 0
    Ah, exam?
  • 1
    we ain't doing your homework
  • 4
    The solution is D) none.
    You can't execute a fucking *.c file.
  • 1
  • 2
    @PonySlaystation You just got to rename it to .exe. That is how compilers work!
  • 1
    @Demolishun In all honesty, when I was about 10 and got into programming, I actually tried that out. The NSA then called my home and now I'm an under cover spy in serbia.
  • 1
    @PonySlaystation Dear programmer sorry to say but your answer is wrong.Can't you solve a fucking simple C code ..what type of an asshole you are or an over compiled noob ..
  • 0
    @hrishi Don't take stuff on the internet too seriously. 😄
  • 1
    @hrishi Says the guy asking for help on an overly basic C program...
  • 0
    @Demolishun If the teacher takes your test .Do you consider it as giving him help .. you fucking moron ,I could have compiled it in any compiler and yeah the code was so simple that none of the comment have the correct answer.
  • 1
    @hrishi Welcome to devrant!
  • 0
    @hrishi argc is no of argument + 1 and *argv[] is basically array of strings in that whole cmd line text

    also you could have googled it, it’s not the place to ask questions like this
  • 1
    Some instructions on googling things

    You can google information with keywords, like in this case you can goto google.com and in search type “command line arguments in a c program”

    You can find this keywords based on the info that you have infront of you in you case this question mentioned words like “command line” and arg for argument

    Please do come back here to rant about how frustrating it is to google things, that makes more sense for this platform

    Peace ✌️
  • 0
    Anyway, the correct answer is A if anyone doesn't actually know.
  • 1
    @olback You sunk my battle...economy!
Add Comment