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
Explain what is the purpose of "extern" keyword in a function declaration?
Difference between exit() and _exit() function?
given post order,in order construct the corresponding binary tree
What is the use of extern in c?
Tell me about low level programming languages.
How can I read data from data files with particular formats?
What is #pragma statements?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is the use of a static variable in c?
Is a house a mass structure?
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
What are the advantage of c language?
how do you programme Carrier Sense Multiple Access
Which of these functions is safer to use : fgets(), gets()? Why?
Tell me what is the purpose of 'register' keyword in c language?