Write any small program that will compile in "C" but not
in "C++"
Answer Posted / pulkit dave
void main()
{
int class=28;
printf("%d",class);
}
it works...
[class] :p
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What are default parameters? How are they evaluated in c++ function?
Write a program to concatenate two strings.
What is prototype for that c string function?
What are the advantages of using pointers in a program?
What do you understand by pure virtual function? Write about its use?
write a porgram in c++ that reads an integer and print the biggest digit in the number
Who was the creator of c++?
Is swift faster than c++?
Which c++ operator cannot overload?
What is a loop? What are different types of loops in c++?
What is c++ try block?
Which compiler does turbo c++ use?
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
What is the v-ptr?
What are static variables?