Answer Posted / sai
c is a procedural language which can't use in real world
applications
c++ is object oriented programming language
by using objects in c++ we can declare classes
we can use encapsulation in c++ but can't use in c
the execution of c++ is faster than c
we use printf scanf in c and cout cin are used in c++
for writing and printing data
we don't require to write header files in c++ instead we
have to write iostream
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why do we use return in c?
What is the difference between the expression “++a” and “a++”?
Explain what is a 'locale'?
What is the difference between constant pointer and constant variable?
Explain the properties of union. What is the size of a union variable
What is the difference between strcpy() and memcpy() function in c programming?
Can you add pointers together? Why would you?
What does do in c?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
Explain what are global variables and explain how do you declare them?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Can i use “int” data type to store the value 32768? Why?
Is c still relevant?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Explain goto?