You are not logged in.

#1 2015-09-17 03:44:45

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Compiler Error:

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … uage-Basic

Directions:
Determine output:

Question:
void main()
{
      int const *p=5;
      printf("%d", ++(*p));
}

Option A):
5
Option B):
Compiler Error
Option C):
Garbage Value
Option D):
4

Correct Answer is Option B):
Compiler Error


Failure is the first step towards seccess.

2015-09-17 03:44:45

Advertisement
Ads By Google

Re: Compiler Error:



Board footer