#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
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.
What is external variable in c?
How can you restore a redirected standard stream?
Is file a keyword in c?
Why string is used in c?
c program for searching a student details among 10 student details
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 ].
Differentiate fundamental data types and derived data types in C.
What is an expression?
How macro execution is faster than function ?
What standard functions are available to manipulate strings?
code for find determinent of amatrix
What is a rvalue?
Can static variables be declared in a header file?
Why are all header files not declared in every c program?