Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a C program, given number is double without using addt
ion and multiplication operator?ex:n=6,ans=12,pls send me ans
to goviseenu@gmail.com

Answer Posted / paramesh

#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("Enter the number")
scanf("%d",&a);
printf("%d double number is %d", a,a<<1);
getch();
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the function in c?

1019


Difference between MAC vs. IP Addressing

1149


What is bash c?

1012


What are variables and it what way is it different from constants?

1244


What is p in text message?

988


What does sizeof return c?

1065


If fflush wont work, what can I use to flush input?

1106


What is exit() function?

1022


Explain what is wrong with this statement? Myname = ?robin?;

1588


What are different types of variables in c?

1075


What is the usage of the pointer in c?

1137


What is string in c language?

1161


Can you please explain the difference between exit() and _exit() function?

1032


Explain what is page thrashing?

1101


Explain can you assign a different address to an array tag?

1052