How to add two numbers without using arithmetic operators?
Answer Posted / suhas
# include <stdio.h>
main()
{
int a=8,b=2;
a|=b;
printf("sum="+a);
}
Is This Answer Correct ? | 7 Yes | 43 No |
Post New Answer View All Answers
What are multibyte characters?
How will you write a code for accessing the length of an array without assigning it to another variable?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
What is the importance of c in your views?
Explain indirection?
What is a pointer on a pointer in c programming language?
Describe the order of precedence with regards to operators in C.
What are types of functions?
What is a buffer in c?
What are the disadvantages of c language?
Tell us bitwise shift operators?
#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 is pointers in c?
what is reason of your company position's in india no. 1.
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix