Is there something that we can do in C and not in C++?
Answer Posted / dheeraj sharma
in c we can assign we can assign void pointer to any type of
pointor varible without typecasting.,but we cant do it in
C++,because C++ does not allow type mismatch.
same case with enum also.in C we can assign integer to enum
member directly,but in C++ we have to typecast integer first
with enum variable.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Is c++ free?
Explain what is class definition in c++ ?
What are manipulators in c++ with example?
Write a Program to find the largest of 4 no using macros.
Explain the operation of overloading of an assignment operator.
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
What is meant by forward referencing and when should it be used?
What is the best book for c++ beginners?
What is vector pair in c++?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
program explaining feautures of c++
State two differences between C and C++.
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
How do I run a program in notepad ++?