difference between c/c++ programing language?
what is necessesity of c++ when existing c programing
language?
Answers were Sorted based on User's Feedback
Answer / kavibharathi
The main reason is lengthy C programs lose "Global View" and
become very difficult to visualize as a single concept.
C++ is an advance than C lang which has more features...
But comparing efficiency C is more efficient than C++
But C++ has more flexibility than C.
Also C++ is both combination of OOP and OBP concepts.
C++ has more features as
1.Object oriented
2.Information hiding
3.Standard Template Library
4.Inheritance
5.Constructors & Destructors
6.Exception Handling
7.Overloading
| Is This Answer Correct ? | 28 Yes | 0 No |
Answer / sathiyabama t
Structures of C++ can have functions in them but C
structures can only have variables
For I/O C++ has iostream.h and C has stdio.h.
| Is This Answer Correct ? | 3 Yes | 1 No |
Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0. Instructor's notes: This problem requires either a while or a do-while loop.
full c programming error question based problem
what is meant by linking error? how can i solve it? if there is a linking error " unable to open file 'cos.obj'? then what should i do?
void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?
void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..
32 Answers College School Exams Tests, CTS, HCL, iGate, SmartData,
what is the large sustained error signal that eventually cause the controller output to drive to its limit
when i use cout or cin call & then either << or >> .....it shows declaration syntax error...what should i do? cout<<"anything"; int a; cin>>a; return 0;
quoroum of computer languages?
who was the present cheif governor of reserve bank of india
6 Answers State Bank Of India SBI,
Answering Yes or No in C++...using only stdio.h and conio.h..........help me please...? here's must be the output of the program: Screen A Exam No. items Score 1 20 20 2 35 35 Another Entry? [Y] or [N] : Screen B: Record No. Student's Name: 1 Fernando Torres 2 Chuck Norris Note: if you press Y, the program must repeat the procedure in screen A, then if N, the program must proceed to the screen B....Please Help me out............
How to convert hexadecimal to binary using c language..
1 Answers Bajaj, GAIL, Satyam, Zenqa,
what are the techniques for reducing the fragility of a memory bug?