#include <stdio.h>
int main ( int argc, char* argv [ ] )
{
int value1 = 10;
int value2 = 5;
printf ( "\n The sum is :%d", value1 | value2 );
}
This is the answer asked by some one to add two numbers
with out using arithmetic operator?Yes this answer is write
it given out put as 15.But how?????
what is need of following line?
int main ( int argc, char* argv [ ] )
how it work?what is the meaning for this line?
please explain me.Advance thanks
Answer Posted / vijay
argc means argument count
argv means argument vector
argc contains the no of arguments and argv[] contains the
argument values
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how to create duplicate link list using C???
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is null pointer in c?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Explain what is the difference between the expression '++a' and 'a++'?
How can my program discover the complete pathname to the executable from which it was invoked?
explain what is a newline escape sequence?
What is c language and why we use it?
can we have joblib in a proc ?
Is there a way to switch on strings?
What is sizeof int in c?
Is it fine to write void main () or main () in c?
Explain a file operation in C with an example.
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is the data segment that is followed by c?