adspace
how to add numbers without using arithmetic operators.
Answer Posted / autojack
#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,x=10,c;
clrscr();
c=a|x;
printf("%d",c);
getch();
}
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
How do you determine the length of a string value that was stored in a variable?
what is ur strangth & weekness
`write a program to display the recomended action depends on a color of trafic light using nested if statments
i have a written test for microland please give me test pattern
What are pointers? What are different types of pointers?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What is the general form of a C program?
How do you convert strings to numbers in C?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is pointer to pointer in c with example?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
ATM machine and railway reservation class/object diagram
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.