Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

#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 / valli

why is it taking those two arguments?what is the need of
them?why we are taking integer and character arguments???

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the difference between a "copy constructor" and a "assignment operator"?

1008


Is malloc memset faster than calloc?

1069


What is the difference between ++a and a++?

1203


What is the advantage of a random access file?

1196


What is omp_num_threads?

1077


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16760


What is difference between static and global variable in c?

1044


Is multithreading possible in c?

1007


Can a program have two main functions?

1122


program to convert a integer to string in c language'

2453


How is a macro different from a function?

1172


How can I write a function analogous to scanf?

1177


What is the purpose of clrscr () printf () and getch ()?

1066


Explain the process of converting a Tree into a Binary Tree.

2666


Why do we use header files in c?

1068