What does the code "cout<<(0==0);" print?
1) 0
2) 1
3) Compiler error: Lvalue required
Answer Posted / sanish joseph
hey guys ans is 1.
coz (0==0)retuns 1as it is true;
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
Why is encapsulation used?
How do you define social class?
Advantage and disadvantage of routing in telecom sector
What is a superclass in oop?
What is overriding vs overloading?
What is oops in simple words?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is an advantage of polymorphism?
Why do we use inheritance?
Can a destructor be called directly?
What does and I oop and sksksk mean?
What do you mean by abstraction?
Whats oop mean?