how to add numbers without using arithmetic operators.
Answer Posted / valli
#include<stdio.h>
main()
{
int a=5,b=6,s;
int *p=a;
s=&p[b];
printf("%d",s);
}
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is getche() function?
Is there any data type in c with variable size?
How do you define a string?
What is spaghetti programming?
Explain how can you avoid including a header more than once?
What is the difference between #include
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
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 ].
What are the benefits of organizational structure?
Is c is a middle level language?
What library is sizeof in c?
What is main () in c?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What is the use of define in c?
What is ## preprocessor operator in c?