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
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 |
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 |
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
Write a C program to enter 10 integer numbers through one variable and count how many of them are even using while loop ?
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 ?
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
what is syntax error?
which typw of errors ? & how to solve it ?
full c programming error question based problem
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); }
To generate the series 1+3+5+7+... using C program
what is macro in c? Difference between single linked list & double linked list what is fifo & lifo? what is stack & queue?
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"