You are not logged in.

#1 2015-09-17 04:02:42

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()
{
      char string[]="Hello World";
      display(string);
}
void display(char *string)
{
      printf("%s", string);
}

Option A):
will print Hello World
Option B):
Can't Say
Option C):
None
Option D):
Compiler Error

Correct Answer is Option D):
Compiler Error


Failure is the first step towards seccess.

2015-09-17 04:02:42

Advertisement
Ads By Google

Re: Compiler Error:



Board footer