how can i pass argc and argv to other function?
int main(int argc, char *argv[])
{
abc(wat should i put here to pass argc and argv?)
}
int abc(wat should i put in here also?)
{
process....
}
how can i pass argc and argv to other function?
int main(int argc, char *argv[])
{
abc(wat should i put here to pass argc and argv?)
}
int abc(wat should i put in here also?)
{
process....
}
>>wat should i put in here also?)
identical to main()
int abc(int argc, char* argv[]);
int main(int argc, char *argv[])
{
abc(argc, argv);
}
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.