Write a program in c++ to print the numbers from n to n2 except 5 and its multiples


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What are the advantages of c++? Explain

0 Answers  


Discuss the possibilities related to the termination of a program before entering the mainq method?

0 Answers  


What is function overriding in c++?

0 Answers  


Will rust take over c++?

0 Answers  


Explain the benefits of proper inheritance.

0 Answers  






Which function cannot be overloaded c++?

0 Answers  


Can I learn c++ as my first language?

0 Answers  


What is meant by reference variable in C++?

1 Answers  


what is data Abstraction? and give example

147 Answers   Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,


Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }

2 Answers   CDAC, Wipro,


What is the extraction operator and what does it do?

0 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,


Categories