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 5 types of organizational structures?
How are structure passing and returning implemented?
What does c mean?
which will be first in c compiling ,linking or compiling ,debugging.
Why double pointer is used in c?
how to swap four numbers without using fifth variable?
What functions are used in dynamic memory allocation in c?
What is a structure and why it is used?
Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.
Explain what is the difference between the expression '++a' and 'a++'?
Can a program have multiple main() functions?
Write the test cases for checking a variable having value in range -10.0 to +10.0?