#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 / harish
i think wat rahul explained is true...but one correction to
be made is that main takes three arguments.... i dnt exactly
remember wat its called......
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
how do you programme Carrier Sense Multiple Access
Explain Function Pointer?
What does 4d mean in c?
Can you pass an entire structure to functions?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What are the advantages of external class?
What are high level languages like C and FORTRAN also known as?
how can f be used for both float and double arguments in printf? Are not they different types?
What are the 5 types of organizational structures?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What are types of functions?
How can I direct output to the printer?
Why does everyone say not to use gets?
c language interview questions & answer
What are the restrictions of a modulus operator?