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...

Why doesn't the code "int a = 1000, b = 1000;
long int c = a * b;" work?

Answer Posted / komal

it wont work as we have to declare the variable 'b'
again...we can not declare it like int a=10,b=3;
it has to b like int a=10;
int b=6;

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the purpose of "extern" keyword in a function declaration?

1127


Difference between exit() and _exit() function?

1177


given post order,in order construct the corresponding binary tree

2854


What is the use of extern in c?

1147


Tell me about low level programming languages.

1190


How can I read data from data files with particular formats?

1093


What is #pragma statements?

1159


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1169


What is the use of a static variable in c?

1110


Is a house a mass structure?

1154


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

1140


What are the advantage of c language?

1105


how do you programme Carrier Sense Multiple Access

2010


Which of these functions is safer to use : fgets(), gets()? Why?

1162


Tell me what is the purpose of 'register' keyword in c language?

1039