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 |
what are the general concepts of c and c++
How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.
What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack
what is a function prototype?
how to print "hai" in c?
how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......
What are Macros? What are its advantages and disadvantages?
Why does notstrcat(string, "!");Work?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
Explain what does it mean when a pointer is used in an if statement?
what do you mean by inline function in C?
write a program to display reverse of a number using for loop?