Write a C program to multiply tho numbers without using
arithmetic operator (+, -, *, /).
Answer / taz
int a=5,b=2,c,i,j;
for(i=1;i<=a;i++)
for(j=1;j<=b;j++)
c++;
printf("%d",c);
| Is This Answer Correct ? | 5 Yes | 1 No |
c program to subtract between two numbers without using '-' sign and subtract function.
Is there a built-in function in C that can be used for sorting data?
What does 2n 4c mean?
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }
What is an auto keyword in c?
What is the purpose of & in scanf?
What is the restrict keyword in C?
Write a code to generate divisors of an integer?
What is #pragma statements?
What is difference between Structure and Unions?
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'
Why does this code crash?