Is there something we can do in C but not in C++?

Declare variable names that are keywords in C++ but not C.

Answer Posted / lucky

#include<stdio.h>
#include<conio.h>
void main()
{
int class=0;
printf("5d",class);
getch();
}

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we write conio h in c?

550


What is a global variable in c?

585


What is the difference between scanf and fscanf?

656


What are directives in c?

537


What is c value paradox explain?

563






Was 2000 a leap year?

618


What is scope rule of function in c?

539


What is a pointer on a pointer in c programming language?

611


what is event driven software and what is procedural driven software?

2003


What is null in c?

591


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

596


Explain null pointer.

613


What are the application of c?

637


Explain high-order and low-order bytes.

659


What is floating point constants?

678