what is the main difference between c and c++?
Answer Posted / lulu
c comes before d
n c++ is the opposite of c--
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is solid in oops?
What is abstraction in oops?
What is destructor in oop?
What is encapsulation process?
What is multilevel inheritance in oop?
what is graphics
What is the difference between a constructor and a destructor?
Can we create object of abstract class?
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
Whats is abstraction in oops?
What is class in oop with example?
How do you explain polymorphism?
What is variable example?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.