write a c program to add two integer numbers without using
arithmetic operator +
Answers were Sorted based on User's Feedback
Answer / jithender palle(vaagdevi wgl)
main()
{
int a=10,b=30,c;
c=a|b;
printf("%d",c);
}
Is This Answer Correct ? | 8 Yes | 21 No |
Answer / anbuchristi
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n Enter The Number:");
scanf("%d",&a);
printf("\n Enter the Number:");
scanf("%d",&b);
c=a+b;
printf("\n The Result Is");
printf("\n ~~~ ~~~~~~ ~~");
printf("%d",c);
getch();
}
Is This Answer Correct ? | 20 Yes | 74 No |
What is typedef?
What is Function Pointer? Explain with example?
Write a program to print fibonacci series without using recursion?
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????
Explain what are multibyte characters?
Is sizeof a keyword in c?
Explain command-line arguments in C.
Explain how can type-insensitive macros be created?
What are the types of assignment statements?
Explain how can you restore a redirected standard stream?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
How can you print HELLO WORLD without using "semicolon"?