1.

What will be the output of these two programs?
(i)
#ifndef Example_H
#define Example_H
int n = 251;
#endif

(ii)
#include 
#include "Example.h"
using namespace std;
int main(int argc, char * argv[] )
{
cout << num++;
return 0;
}

A. 252
B. 251
C. Compilation Error
D. Runtime Error
E. None of these
Answer» C. Compilation Error


Discussion

No Comment Found

Related MCQs