1. By default, the data type of a constant without a decimal point is int, whereas the one with a decimal point is a double.



Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->For a body moving with constant speed in a horizontal circle; what remains constant?....
QA->For a body moving with constant speed in a horizontal circle, what remains constant?....
QA->Vitamin A; D; E;K are fat soluble whereas vitamin B complex and C are ?....
QA->Choose the correct alternative:A lunatic lives in an ………..whereas monks live in a……......
QA->Name the new web browser developed by Microsoft which replaced Internet Explorer as the default browser on Windows 10?....
MCQ->interface DoMath { double getArea(int rad); } interface MathPlus { double getVol(int b, int h); } / Missing Statements ? / which two code fragments inserted at end of the program, will allow to compile? class AllMath extends DoMath { double getArea(int r); } interface AllMath implements MathPlus { double getVol(int x, int y); } interface AllMath extends DoMath { float getAvg(int h, int l); } class AllMath implements MathPlus { double getArea(int rad); } abstract class AllMath implements DoMath, MathPlus { public double getArea(int rad) { return rad rad 3.14; } }....
MCQ->What will be the output of the following program? #include<iostream.h> double BixFunction(double, double, double = 0, double = 0, double = 0); int main() { double d = 2.3; cout<< BixFunction(d, 7) << " "; cout<< BixFunction(d, 7, 6) << endl; return 0; } double BixFunction(double x, double p, double q, double r, double s) { return p +(q +(r + s x) x) x; }....
MCQ->What will be the output of the program? #include<stdio.h> int fun(int, int); typedef int (pf) (int, int); int proc(pf, int, int); int main() { printf("%d\n", proc(fun, 6, 6)); return 0; } int fun(int a, int b) { return (a==b); } int proc(pf p, int a, int b) { return ((p)(a, b)); }....
MCQ-> Each of the questions below consists of a question andtwo statements numbered I and II given below it. You have to decide whether the data provided in the statements are suf icient to answer the question. Read both the statements and - Give answer a: if the data in Statement I alone are sufficient to answer the question, while the data in Statement II alone are not sufficient to answer the question. Give answer b: if the data in Statement II alone are sufficient to answer the question, while the data in Statement I alone are not sufficient to answer the question. Give answer c: if the data either in Statement I alone or in Statement II alone are sufficient to answer the question. Give answer d: if the data even in both Statements I and II together are not sufficient to answer the question. Give answer e: if the data in both Statements I and II together are necessary to answer the question. What is the position of point F with respect to point I ? I. Point G is 5 km east of point F. Point S is 5 km north of point G. Point H is the mid point of points G and S. Point I is to the south of point H in such a manner that point G is the mid-point of points H and I. II. Point A is 10 km east of point F. Point B is 5 km south of point A. Point H is the midpoint of points A and B. Point I is 5 km south of point H. Point I is to the east of point L at a distance of 5 km.....
MCQ->Which of the following statement is correct about the program given below? #include<iostream.h> int BixTest(int x, int y); int BixTest(int x, int y, int z = 5); int main() { cout<< BixTest(2, 4) << endl; return 0; } int BixTest(int x, int y) { return x y; } int BixTest(int x, int y, int z = 5) { return x y z; }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions