How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / g m rajput
int main()
{
int f=1;
for(:f:)
cout<<"f="<<f++<<"
;
return 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which function cannot be overloaded c++?
What do you mean by translation unit?
What are the advantages of early binding?
Which programming language's unsatisfactory performance led to the discovery of c++?
What's the order in which the local objects are destructed?
Define stacks. Provide an example where they are useful.
How does c++ sort work?
What do you mean by inheritance in c++?
what you know about c++?
How does class accomplish data hiding in c++?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
what are Operators and explain with an example?
Why is standard template library used?
Define a nested class.
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.