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


Find the error (2.5*2=5)
(a) X=y=z=0.5,2.0-5.75
(b) s=15;

Answers were Sorted based on User's Feedback



Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;..

Answer / preeti

If a float variable multiply by an integer, it will give
answer in float. So the answer should be in float.

Is This Answer Correct ?    17 Yes 3 No

Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;..

Answer / ajay03002

5.0

Is This Answer Correct ?    9 Yes 2 No

Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;..

Answer / k.k

(a) you can not do
x=y=z=0.5 in c++ it will throw error..
undefine symbol y & z...

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More C C++ Errors Interview Questions

Using string functions write a program that will accept the name of the capital as input value and will display the corresponding country. ------------------------ Capitals Countries ------------------------ Capitals Countries Ottawa Canada Moscow Russia Rome Italy I can't not get it to run properly

1 Answers   AMA,


Write a C program to enter 10 integer numbers through one variable and count how many of them are even using while loop ?

2 Answers  


How to upgrade LOOP environment, I just mean, how can i make loop statement editable ? I just try some program using loop statement and checking it in multiple compilers. Every compiler showing different output, what's the wrong ? is it a compiler based problem, or loop based problem, tell me why ? and what will be the debugging process, for this kind of problem ?

1 Answers  


void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..

32 Answers   College School Exams Tests, CTS, HCL, iGate, SmartData,


Display this kind of output on screen. 1 0 1 1 0 1 3. Display this kind of output on screen. 1 1 0 1 0 1 4. Display this kind of output on screen. 1 1 0 1 0 1 5.Display this kind of output on screen. 1 2 3 4 5 6 7 8 9 10

1 Answers  


what is syntax error?

3 Answers  


which typw of errors ? & how to solve it ?

0 Answers  


full c programming error question based problem

3 Answers   HCL, TCS,


WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }

25 Answers   HCL,


To generate the series 1+3+5+7+... using C program

18 Answers  


what is macro in c? Difference between single linked list & double linked list what is fifo & lifo? what is stack & queue?

2 Answers   TCS,


I am using Qt 5.6 during compilation it stops and gives error about Qmake The process "C:QtQt5.6.35.6.3msvc2015_64inqmake.exe" crashed. Error while building/deploying project untitled1 (kit: Desktop Qt 5.6.3 MSVC2015 64bit) When executing step "qmake"

0 Answers  


Categories