Answer Posted / guest
1.c is the structure programming language where c++ is the
object oriented language.
2.c does not support class but c++ support class.
3.c++ also called c as class,that is the advance version of c.
4.c++ have operator overloading while c does't have operator
overloading
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the 32 keywords in c?
Why doesnt this code work?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What is pre-emptive data structure and explain it with example?
Why do we need arrays in c?
How can I pad a string to a known length?
Can you write the algorithm for Queue?
What is meant by keywords in c?
What is this infamous null pointer, anyway?
Write a program to reverse a given number in c?
What is s in c?
What is methods in c?
Do you know pointer in c?