Give a fast way to multiply a number by 7

Answer Posted / anveshbanti

void main()
{
int a=i;
printf(enter i value");
scanf("%d",&i)
int res=i*7;
printf("result is " res);
}

Is This Answer Correct ?    2 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the mean of function?

651


Give me the code of in-order recursive and non-recursive.

890


How do you generate random numbers in C?

663


What are the different categories of functions in c?

651


What is the data segment that is followed by c?

617






What is the difference between mpi and openmp?

738


Can you write the function prototype, definition and mention the other requirements.

664


Write a program to print ASCII code for a given digit.

690


Why do we write return 0 in c?

557


Why main function is special give two reasons?

953


Write a program to reverse a string.

644


Explain pointers in c programming?

639


Write a program to print all permutations of a given string.

647


How can I rethow can I return a sequence of random numbers which dont repeat at all?

709


Where are some collections of useful code fragments and examples?

721