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 |
quoroum of computer languages?
What is probability to guarantee that the task a programmer is going to create will be created and be able to run on a particular system (RTOS/GPOS).
How to convert hexadecimal to binary using c language..
1 Answers Bajaj, GAIL, Satyam, Zenqa,
Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .
Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a do...while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....
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............
WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }
Write a C program to enter 10 integer numbers through one variable and count how many of them are even using while loop ?
#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }
I'm having trouble with coming up with the correct code. Do I need to put a loop? Please let me know if I'm on the right track and what areas I need to correct. I still don't have a good grasp on this programming stuff. Thanks =) The assignment was to write a program using string functions that accepts a coded value of an item and displays its equivalent tag price. The base of the keys: 0 1 2 3 4 5 6 7 8 9 X C O M P U T E R S Sample I/O Dialogue: Enter coded value: TR.XX Tag Price : 68.00
void main() { int i=7; printf("N= %*d",i,i); }