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

hello deepak sir
ur answer is exactly write.Thank you sir.
But i want to know the meaning or this and how it work?
will u please explain me?
thanks.

what is need of following line?
int main ( int argc, char* argv [ ] )

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is main () in c?

584


What 'lex' does?

712


Is flag a keyword in c?

677


Why is sizeof () an operator and not a function?

576


Explain main function in c?

622






What is a node in c?

543


Why array is used in c?

549


a program that can input number of records and can view it again the record

1478


Why is this loop always executing once?

615


What is the use of typedef in structure in c?

538


What are preprocessor directives in c?

630


Write a program to print numbers from 1 to 100 without using loop in c?

633


You have given 2 array. You need to find whether they will create the same BST or not. For example: Array1:10 5 20 15 30 Array2:10 20 15 30 5 Result: True Array1:10 5 20 15 30 Array2:10 15 20 30 5 Result: False One Approach is Pretty Clear by creating BST O(nlogn) then checking two tree for identical O(N) overall O(nlogn) ..we need there exist O(N) Time & O(1) Space also without extra space .Algorithm ?? DevoCoder guest Posted 3 months ago # #define true 1 #define false 0 int check(int a1[],int a2[],int n1,int n2) { int i; //n1 size of array a1[] and n2 size of a2[] if(n1!=n2) return false; //n1 and n2 must be same for(i=0;ia1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }

2710


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

738


What is the use of sizeof?

550