• Feed
  • Discussions
argc

argc

#argc
0 followers·3 articles

argc

#argc·0 followers·3 articles
argc
Jyotiprakash Mishra
Jyotiprakash Mishra
blog.jyotiprakash.org·Dec 24, 2023
Dec 24, 2023

Different mains

Basic main Function: #include <stdio.h> int main() { // Program logic goes here return 0; } Explanation: This is the simplest form of the main function. It does not accept any command-line arguments. The program logic is placed within t...

Discuss·39 reads
C Programming
c programming
Jyotiprakash Mishra
Jyotiprakash Mishra
blog.jyotiprakash.org·Dec 23, 2023
Dec 23, 2023

What does main get?

In C, the main function typically takes two parameters: argc (argument count) and argv (argument vector). These parameters allow you to pass command-line arguments to your program. Here's a simple example to illustrate how to use these parameters: #i...

Discuss·8 reads
C Programming
main-function
Samuel Ingosi
Samuel Ingosi
noxcode.hashnode.dev·Jun 11, 2023
Jun 11, 2023

How to give your program commands.

Commandline arguments in C. While writing programs that give out values is great, user interaction is key to making your program usable. Imagine 'grep' without the ability to choose files to give it to ( see the manual pages for grep in GNU/Linux) to...

Discuss·50 reads
Arguments

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

🛍️ Bion: The App That Pays You Crypto Just for Shopping (No Strings Attached)

Ekemini David ·43 reads

.🌍 How Bion Turned My Random Shopping Spree Into My First Ever Bitcoin

Ekemini David ·24 reads

💡 From Checkout to Crypto: The Shopping Shortcut That Changed My Financial Game

Ekemini David ·28 reads

Top commenters this week

Anik Sikder
Anik Sikder
1 -
1 -
Ariska Hidayat
Ariska Hidayat
Sonu Goswami
Sonu Goswami
Jaime David
Jaime David

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior