#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

Thank u so much..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1991


What is external variable in c?

621


How can you restore a redirected standard stream?

621


Is file a keyword in c?

516


Why string is used in c?

595






c program for searching a student details among 10 student details

1668


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

656


Differentiate fundamental data types and derived data types in C.

625


What is an expression?

669


How macro execution is faster than function ?

679


What standard functions are available to manipulate strings?

573


code for find determinent of amatrix

1526


What is a rvalue?

756


Can static variables be declared in a header file?

627


Why are all header files not declared in every c program?

609