How do you access command-line arguments?

Answer Posted / thunder

Using argument vector and argument count with main.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the right way to use errno?

870


What does %p mean?

839


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

875


Is null always defined as 0(zero)?

834


What are linked lists in c?

873


Explain what is dynamic data structure?

902


What is a stream in c programming?

835


Is c call by value?

818


What is function prototype in c language?

824


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

860


c program to compute AREA under integral

2101


How is a null pointer different from a dangling pointer?

798


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

932


What does the c preprocessor do?

862


What is file in c preprocessor?

905