#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
What are the back slash character constants or escape sequence charactersavailable in c?
What is meant by gets in c?
How can I write a function that takes a format string and a variable number of arguments?
How can a program be made to print the name of a source file where an error occurs?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Is c is a procedural language?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What are dangling pointers? How are dangling pointers different from memory leaks?
What are the 5 types of organizational structures?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is I ++ in c programming?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is the default value of local and global variables in c?
How can I split up a string into whitespace-separated fields?