1. Which three are valid declarations of a float? float f1 = -343; float f2 = 3.14; float f3 = 0x12345; float f4 = 42e7; float f5 = 2001.0D; float f6 = 2.81F;





Write Comment

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

Comments

Tags
Show Similar Question And Answers
QA->Article 343 says about ?....
QA->The Election Commission of India raised the cap of minimum votes of a political party must secure in election to get the status of a state party or maintain it further. The new minimum limit is ___ percent of the total valid votes polled:....
QA->The valid maximum zoom size available in MS Word is?....
QA->The essentials of a valid contract is provided under,………..of the Indian Contract Act:....
QA->Which Indian batsman made three consecutive centuries in his first three Test matches....
MCQ->Which three are valid declarations of a float? float f1 = -343; float f2 = 3.14; float f3 = 0x12345; float f4 = 42e7; float f5 = 2001.0D; float f6 = 2.81F;....
MCQ->Which two cause a compiler error? float[ ] f = new float(3); float f2[ ] = new float[ ]; float[ ]f1 = new float[3]; float f3[ ] = new float[3]; float f5[ ] = {1.0f, 2.0f, 2.0f};....
MCQ->What will be the output of the following program? #include<iostream.h> int main() { float Amount; float Calculate(float P = 5.0, int N = 2, float R = 2.0); Amount = Calculate(); cout<< Amount << endl; return 0; } float Calculate(float P, int N, float R) { int Year = 1; float Sum = 1 ; Sum = Sum (1 + P ++N R); Year = (int)(Year + Sum); return Year; }....
MCQ->import java.awt.Button; class CompareReference { public static void main(String [] args) { float f = 42.0f; float [] f1 = new float[2]; float [] f2 = new float[2]; float [] f3 = f1; long x = 42; f1[0] = 42.0f; } } which three statements are true? f1 == f2 f1 == f3 f2 == f1[1] x == f1[0] f == f1[0]....
MCQ->Which of the following statement is correct about the program given below? #include<iostream.h> void Tester(float xx, float yy = 5.0); class IndiaBix { float x; float y; public: void Tester(float xx, float yy = 5.0) { x = xx; y = yy; cout<< ++x % --y; } }; int main() { IndiaBix objBix; objBix.Tester(5.0, 5.0); return 0; }....
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